@Test
    public void testClearProfile() {
        val profile = new CasRestProfile(ID, USERNAME);
        profile.removeLoginData();
        assertNull(profile.getTicketGrantingTicketId());
    }
General test cases for {@link CasRestProfile}.

@author Jacob Severson
@since 1.8.0
pac4j-cas/src/test/java/org/pac4j/cas/profile/CasRestProfileTests.java