@Test
    public void testComputeMatchersOverrideSecurityHeaders() {
        final Matcher overriden = new Matcher() {
            @Override
            public boolean matches(final CallContext ctx) {
                return false;
            }
        };

        final Map<String, Matcher> matchers = new HashMap<>();
        matchers.put(DefaultMatchers.SECURITYHEADERS, overriden);

        final Collection<Matcher> expectedMatchers = new ArrayList<>();
        expectedMatchers.add(overriden);
        assertEquals(expectedMatchers, checker.computeMatchers(new CallContext(MockWebContext.create(),
            new MockSessionStore()), " securityHEADERS    ", matchers, new ArrayList<>()));
    }
Tests {@link DefaultMatchingChecker}.

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