@Test
    public void testRedirectGatewayAttribute() {
        val builder = newBuilder(new CasConfiguration());
        val context = MockWebContext.create();
        context.setRequestAttribute(RedirectionActionBuilder.ATTRIBUTE_PASSIVE, true);
        val action = builder.getRedirectionAction(new CallContext(context, new MockSessionStore())).get();
        assertTrue(action instanceof FoundAction);
        assertTrue(((FoundAction) action).getLocation().contains("gateway=true"));
    }
Tests {@link CasRedirectionActionBuilder}.

@author Jerome LELEU
@since 3.7.0
pac4j-cas/src/test/java/org/pac4j/cas/redirect/CasRedirectionActionBuilderTest.java