@Test
    public void testDoubleIndirectClientOneChosen() {
        final IndirectClient indirectClient =
            new MockIndirectClient(NAME, new FoundAction(PAC4J_URL), Optional.of(new MockCredentials()), new CommonProfile());
        final IndirectClient indirectClient2 =
            new MockIndirectClient(VALUE, new FoundAction(PAC4J_BASE_URL), Optional.of(new MockCredentials()), new CommonProfile());
        config.setClients(new Clients(CALLBACK_URL, indirectClient, indirectClient2));
        clients = NAME + "," + VALUE;
        context.addRequestParameter(Pac4jConstants.DEFAULT_FORCE_CLIENT_PARAMETER, VALUE);
        call();
        assertEquals(302, action.getCode());
        assertEquals(PAC4J_BASE_URL, ((FoundAction) action).getLocation());
    }
Tests {@link DefaultSecurityLogic}.

@author Jerome Leleu
@since 1.9.0
pac4j-core/src/test/java/org/pac4j/core/engine/DefaultSecurityLogicTests.java