@Test
    public void testGoodMethod() {
        Matcher matcher = new HttpMethodMatcher(HttpConstants.HTTP_METHOD.POST);
        val context = MockWebContext.create().setRequestMethod(HttpConstants.HTTP_METHOD.POST.name());
        assertTrue(matcher.matches(new CallContext(context, null)));
    }
Tests {@link HttpMethodMatcher}.

@author Jerome Leleu
@since 1.9.3
pac4j-core/src/test/java/org/pac4j/core/matching/matcher/HttpMethodMatcherTests.java