@Test
    public void testInvalidProfileURLAttribute() {
        val userProfile = new CommonProfile();
        assertEquals(0, userProfile.getAttributes().size());
        userProfile.addAttribute(CommonProfileDefinition.PROFILE_URL, "invalid");
        assertNull(userProfile.getProfileUrl());
    }
This class tests the {@link CommonProfile} class.
@author Jerome Leleu
@since 1.0.0
pac4j-core/src/test/java/org/pac4j/core/profile/CommonProfileTests.java