@Test
    @Rollback(false)
    void verifyObserveOkJpaTicketRegistry() throws Throwable {
        addTicketsToRegistry(jpaRegistry, 5, 5);
        val monitor = new TicketRegistryHealthIndicator(new DirectObjectProvider<>(jpaRegistry), -1, -1);
        val status = monitor.health();
        assertEquals(Status.UP, status.getStatus());
    }
Unit test for {@link TicketRegistryHealthIndicator} class that involves
{@link JpaTicketRegistry}.

@author Marvin S. Addison
@since 3.5.0
support/cas-server-support-jpa-ticket-registry/src/test/java/org/apereo/cas/monitor/SessionHealthIndicatorJpaTests.java