@Test
    void verifyUnknown() {
        val ticketRegistry = mock(TicketRegistry.class);
        when(ticketRegistry.sessionCount()).thenReturn(Long.valueOf(Integer.MIN_VALUE));
        when(ticketRegistry.serviceTicketCount()).thenReturn(Long.valueOf(Integer.MIN_VALUE));

        val indicator = new TicketRegistryHealthIndicator(new DirectObjectProvider<>(ticketRegistry), 1, 1);
        assertEquals(Status.UNKNOWN, indicator.getHealth(true).getStatus());
    }
This is {@link TicketRegistryHealthIndicatorTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-monitor/src/test/java/org/apereo/cas/monitor/TicketRegistryHealthIndicatorTests.java