@Test
    public void testOk() {
        val client = new CasProxyReceptor();
        client.setCallbackUrl(CALLBACK_URL);
        val context = MockWebContext.create()
            .addRequestParameter(CasProxyReceptor.PARAM_PROXY_GRANTING_TICKET, VALUE)
            .addRequestParameter(CasProxyReceptor.PARAM_PROXY_GRANTING_TICKET_IOU, VALUE);
        val action = (HttpAction) TestsHelper.expectException(()
            -> client.getCredentials(new CallContext(context, new MockSessionStore())));
        assertEquals(200, action.getCode());
    }
This class tests the {@link CasProxyReceptor} class.

@author Jerome Leleu
@since 1.4.0
pac4j-cas/src/test/java/org/pac4j/cas/client/CasProxyReceptorTests.java