@Test
    void verifyTicketTTLWithoutRememberMe() {
        val authentication = CoreAuthenticationTestUtils.getAuthentication();
        val t = new TicketGrantingTicketImpl("111", authentication, this.expirationPolicy);
        assertEquals(DEFAULT_TTL, expirationPolicy.getTimeToLive(t));
    }
Factory to create the principal type.
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/expiration/RememberMeDelegatingExpirationPolicyTests.java