private static Principal getPrincipal(final String principalId, final Map<String, List<Object>> principalAttributes) {
        return FunctionUtils.doUnchecked(() -> PrincipalFactoryUtils.newPrincipalFactory().createPrincipal(principalId, principalAttributes));
    }
Mock ticket-granting ticket.

@author Marvin S. Addison
@since 3.0.0
core/cas-server-core-tickets/src/test/java/org/apereo/cas/mock/MockTicketGrantingTicket.java