@Test
    void verifyOperation() {
        val filter = new PathRegexPatternTreeFilter(RegexUtils.createPattern(".+"));
        val walker = mock(TreeWalk.class);
        when(walker.isSubtree()).thenReturn(Boolean.TRUE);
        assertTrue(filter.include(walker));
        assertTrue(filter.shouldBeRecursive());
        assertNotNull(filter.clone());
    }
This is {@link PathRegexPatternTreeFilterTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-git-core/src/test/java/org/apereo/cas/git/PathRegexPatternTreeFilterTests.java