@Override
    protected void verifyProfile(CommonProfile userProfile) {
        val profile = (CasOAuthWrapperProfile) userProfile;
        assertEquals(getLogin(), profile.getId());
        assertEquals(CasOAuthWrapperProfile.class.getName() + Pac4jConstants.TYPED_ID_SEPARATOR + getLogin(),
                profile.getTypedId());
        assertTrue(ProfileHelper.isTypedIdOf(profile.getTypedId(), CasOAuthWrapperProfile.class));
        assertTrue(StringUtils.isNotBlank(profile.getAccessToken()));
        assertTrue(profile.isFromNewLogin());
        assertEquals("AcceptUsersAuthenticationHandler", profile.getAuthenticationMethod());
        assertFalse(profile.isLongTermAuthenticationRequestTokenUsed());
        assertEquals("AcceptUsersAuthenticationHandler", profile.getSuccessfulAuthenticationHandlers());
        assertNotNull(profile.getAuthenticationDate());
        assertTrue(profile.isFromNewLogin());
        assertEquals("groupMembership", profile.getAttribute("affiliation"));
        assertEquals("commonName", profile.getAttribute("cn"));
        assertEquals("uid", profile.getAttribute("uid"));
        assertEquals(11, profile.getAttributes().size());
    }
Run a manual test for the {@link CasOAuthWrapperClient}.

@author Jerome Leleu
@since 1.9.0
pac4j-oauth/src/test/java/org/pac4j/oauth/run/RunCasOAuthWrapperClient.java