@Test
    void verifyTicketExpirationWithoutRememberMe() {
        val authentication = CoreAuthenticationTestUtils.getAuthentication();
        val t = new TicketGrantingTicketImpl("111", authentication, this.expirationPolicy);
        assertFalse(t.isExpired());
        t.grantServiceTicket("55", RegisteredServiceTestUtils.getService(),
            this.expirationPolicy, false, serviceTicketSessionTrackingPolicy);
        assertFalse(t.isExpired());
    }
Factory to create the principal type.
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/expiration/RememberMeDelegatingExpirationPolicyTests.java