@Test
    public void testRetrieveGetParameterOk() {
        val context = MockWebContext.create().setRequestMethod(HttpConstants.HTTP_METHOD.GET.name())
            .addRequestParameter(GOOD_PARAMETER, VALUE);
        val credentials = (TokenCredentials) getExtractor.extract(new CallContext(context, new MockSessionStore())).get();
        assertEquals(VALUE, credentials.getToken());
    }
This class tests the {@link ParameterExtractor}.

@author Jerome Leleu
@since 1.8.0
pac4j-http/src/test/java/org/pac4j/http/credentials/extractor/ParameterExtractorTests.java