@Before
    public void setUp() {
        logic = new DefaultLogoutLogic();
        config = new Config();
        context = MockWebContext.create();
        config.setWebContextFactory(p -> context);
        sessionStore = new MockSessionStore();
        config.setSessionStoreFactory(p -> sessionStore);
        config.setClients(new Clients());
        config.setHttpActionAdapter((act, ctx) -> { action = act; return null; });
        defaultUrl = null;
        logoutUrlPattern = null;
        localLogout = null;
        centralLogout = null;
        profiles = new LinkedHashMap<>();
    }
Tests {@link DefaultLogoutLogic}.

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