@Before
    public void setUp() {
        logic = new DefaultCallbackLogic();
        config = new Config();
        context = MockWebContext.create();
        config.setWebContextFactory(p -> context);
        sessionStore = new MockSessionStore();
        config.setSessionStoreFactory(p -> sessionStore);
        config.setHttpActionAdapter((act, ctx) -> { action = act; return null; });
        defaultUrl = null;
        renewSession = null;
        clientFinder = new DefaultCallbackClientFinder();
        HttpActionHelper.setUseModernHttpCodes(true);
    }
Tests {@link DefaultCallbackLogic}.

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