@Test
    public void testNullMethods() {
        val matcher = new HttpMethodMatcher();
        TestsHelper.expectException(() -> matcher.matches(new CallContext(MockWebContext.create(), null)),
            TechnicalException.class, "methods cannot be null");
    }
Tests {@link HttpMethodMatcher}.

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