use of com.codahale.metrics.health.HealthCheckRegistry in project dropwizard by dropwizard.
the class HealthCheckConfigValidatorTest method startValidationsShouldSucceedWhenNoHealthChecksConfigured.
@Test
void startValidationsShouldSucceedWhenNoHealthChecksConfigured() throws Exception {
// given
List<HealthCheckConfiguration> configs = emptyList();
HealthCheckRegistry registry = new HealthCheckRegistry();
// when
HealthCheckConfigValidator validator = new HealthCheckConfigValidator(configs, registry);
validator.start();
// then
verifyNoInteractions(mockLogAppender);
}
Aggregations