@Test
    public void testCsrfTokenDefault() {
        val context = MockWebContext.create();
        assertTrue(checker.matches(new CallContext(context, new MockSessionStore()), Pac4jConstants.EMPTY_STRING,
            new HashMap<>(), new ArrayList<>()));
        assertFalse(context.getRequestAttribute(Pac4jConstants.CSRF_TOKEN).isPresent());
        assertNull(WebContextHelper.getCookie(context.getResponseCookies(), Pac4jConstants.CSRF_TOKEN));
    }
Tests {@link DefaultMatchingChecker}.

@author Jerome Leleu
@since 4.0.0
pac4j-core/src/test/java/org/pac4j/core/matching/checker/DefaultMatchingCheckerTests.java