@Test
    public void testFixedPath() {
        val pathMatcher = new PathMatcher().excludePath("/foo");
        assertFalse(pathMatcher.matches(new CallContext(MockWebContext.create().setPath("/foo"), new MockSessionStore())));
        assertTrue(pathMatcher.matches(new CallContext(MockWebContext.create().setPath("/foo/bar"), new MockSessionStore())));
    }
Tests {@link PathMatcher}.

@author Rob Ward
@since 2.0.0
pac4j-core/src/test/java/org/pac4j/core/matching/matcher/PathMatcherTests.java