assertEquals(this.ticketGrantingTicket, s.getGrantingTicket());
}
public void testIsExpiredTrueBecauseOfRoot() {
TicketGrantingTicket t = new TicketGrantingTicketImpl("test", TestUtils
.getAuthentication(), new NeverExpiresExpirationPolicy());
ServiceTicket s = t.grantServiceTicket(this.uniqueTicketIdGenerator
.getNewTicketId(ServiceTicket.PREFIX), TestUtils.getService(),
new NeverExpiresExpirationPolicy(), false);
t.expire();
assertTrue(s.isExpired());
}