@Before
    public void setUp() {
        logic = new DefaultSecurityLogic();
        config = new Config();
        context = MockWebContext.create();
        config.setWebContextFactory(p -> context);
        sessionStore = new MockSessionStore();
        config.setSessionStoreFactory(p -> sessionStore);
        securityGrantedAccessAdapter = (context, sessionStore, profiles) -> { nbCall++; return null; };
        config.setHttpActionAdapter((act, ctx) -> { action = act; return null; });
        clients = null;
        authorizers = null;
        matchers = null;
        nbCall = 0;
    }
Tests {@link DefaultSecurityLogic}.

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