@Test
    public void testXssprotection() {
        val context = MockWebContext.create();
        checker.matches(new CallContext(context, new MockSessionStore()), DefaultMatchers.XSSPROTECTION,
            new HashMap<>(), new ArrayList<>());
        assertNotNull(context.getResponseHeaders().get("X-XSS-Protection"));
    }
Tests {@link DefaultMatchingChecker}.

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