Search in sources :

Example 1 with CamelMicroProfileHealthCheckRegistry

use of org.apache.camel.microprofile.health.CamelMicroProfileHealthCheckRegistry in project camel-quarkus by apache.

the class MicroProfileHealthEnabledTest method healthCheckRegistryNotNull.

@Test
public void healthCheckRegistryNotNull() {
    HealthCheckRegistry registry = HealthCheckRegistry.get(context);
    assertNotNull(registry);
    assertTrue(registry instanceof CamelMicroProfileHealthCheckRegistry);
    assertEquals("camel-microprofile-health", registry.getId());
}
Also used : CamelMicroProfileHealthCheckRegistry(org.apache.camel.microprofile.health.CamelMicroProfileHealthCheckRegistry) HealthCheckRegistry(org.apache.camel.health.HealthCheckRegistry) CamelMicroProfileHealthCheckRegistry(org.apache.camel.microprofile.health.CamelMicroProfileHealthCheckRegistry) QuarkusUnitTest(io.quarkus.test.QuarkusUnitTest) Test(org.junit.jupiter.api.Test)

Aggregations

QuarkusUnitTest (io.quarkus.test.QuarkusUnitTest)1 HealthCheckRegistry (org.apache.camel.health.HealthCheckRegistry)1 CamelMicroProfileHealthCheckRegistry (org.apache.camel.microprofile.health.CamelMicroProfileHealthCheckRegistry)1 Test (org.junit.jupiter.api.Test)1