@Test
    public void testDefinedName() {
        final OAuth20Client client = new FacebookClient();
        client.setName(TYPE);
        assertEquals(TYPE, client.getName());
    }
This class tests the {@link OAuth20Client} class.

@author Jerome Leleu
@since 1.0.0
pac4j-oauth/src/test/java/org/pac4j/oauth/client/OAuth20ClientTests.java