@RepeatedTest(1)
        void verifyCountsUnknown() {
            val registry = mock(DefaultTicketRegistry.class);
            when(registry.stream()).thenThrow(IllegalArgumentException.class);
            when(registry.sessionCount()).thenCallRealMethod();
            when(registry.serviceTicketCount()).thenCallRealMethod();
            assertEquals(Long.MIN_VALUE, registry.sessionCount());
            assertEquals(Long.MIN_VALUE, registry.serviceTicketCount());
        }
Test case to test the DefaultTicketRegistry based on test cases to test all
Ticket Registries.

@author Scott Battaglia
@since 3.0.0
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/registry/DefaultTicketRegistryTests.java