### Question:
Capabilities { public static CapabilityStatement getCapabilities() { if (statement == null) { synchronized (lock) { if (statement == null) { logger.debug("Building capabilities statement"); statement = buildCapabilities(); return statement; } } } logger.trace("Returning cached capabilities statement"); return statement; } private  Capabilities(); static CapabilityStatement getCapabilities();  }### Answer:
@Test void capabilitiesIsValid() { final CapabilityStatement capabilities = Capabilities.getCapabilities(); final ValidationResult validationResult = validator.validateWithResult(capabilities); assertTrue(validationResult.isSuccessful(), validationResultsToString(validationResult)); }