@Test
    public void testGetMatcherDefinedAsPost() {
        final Map<String, Matcher> matchers = new HashMap<>();
        matchers.put("get", new HttpMethodMatcher(HttpConstants.HTTP_METHOD.POST));
        assertTrue(checker.matches(new CallContext(MockWebContext.create().setRequestMethod("post"), new MockSessionStore()), "get",
            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