@Test
    public void testHsts() {
        val context = MockWebContext.create();
        context.setScheme(SCHEME_HTTPS);
        checker.matches(new CallContext(context, new MockSessionStore()), DefaultMatchers.HSTS, new HashMap<>(), new ArrayList<>());
        assertNotNull(context.getResponseHeaders().get("Strict-Transport-Security"));
    }
Tests {@link DefaultMatchingChecker}.

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