@Test
    public void testGetRedirectionGithub() {
        WithLocationAction action = (FoundAction) getClient().getRedirectionAction(
            new CallContext(MockWebContext.create(), new MockSessionStore())).get();
        val url = action.getLocation();
        assertTrue(url != null && !url.isEmpty());
    }
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