@ParameterizedTest
    @CsvSource({
        "com.github.victools.jsonschema, pkg, true, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com.github.victools.jsonschema, cls, false, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com.github.victools.jsonschema.plugin.maven.testpackage, pkg, true, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com.github.victools.jsonschema.plugin.maven.testpackage, cls, false, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com.github.victools.jsonschema.plugin.maven.testpackage.TestClassA, pkg, false, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com.github.victools.jsonschema.plugin.maven.testpackage.TestClassA, cls, true, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/**/testpackage/*, pkg, false, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/**/testpackage/*, pkg, true, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "com/**/testpackage/*, cls, true, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/**/testpackage/*, cls, false, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "com/**/testpackage/**, pkg, false, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/**/testpackage/**, pkg, true, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "com/**/testpackage/**, cls, true, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/**/testpackage/**, cls, true, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "com/**/testpackage, pkg, true, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/**/testpackage, pkg, true, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "com/**/testpackage, cls, false, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/**/testpackage, cls, false, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "**/sub/**, pkg, false, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "**/sub/**, pkg, false, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "**/sub/**, cls, false, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "**/sub/**, cls, true, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "**/sub, pkg, false, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "**/sub, pkg, true, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "**/sub, cls, false, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "sub/**, pkg, false, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "sub/**, cls, false, com/github/victools/jsonschema/plugin/maven/testpackage/sub/TestClassC",
        "com/*/victools/**, pkg, true, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/*/victools/**, cls, true, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/*/jsonschema/**, pkg, false, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/*/jsonschema/**, cls, false, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/**/jsonschema/**, pkg, true, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
        "com/**/jsonschema/**, cls, true, com/github/victools/jsonschema/plugin/maven/testpackage/TestClassA",
    })
    public void testClassNameFilter(String inputPattern, String clsOrPkg, boolean matching, String classNamePath) {
        Predicate<String> matcher = GlobHandler.createClassOrPackageNameFilter(inputPattern, clsOrPkg.equals("pkg"));
        Assertions.assertSame(matching, matcher.test(classNamePath));
    }
Additional tests for more realistic patterns for class names.

@param inputPattern expression entered in the {@code pom.xml}
@param clsOrPkg indicating whether the inputPattern is supposed to refer to a class ("cls") or a package ("pkg")
@param matching whether the pattern is supposed to match the following classNamePath
@param classNamePath full class name with slash ("/") instead of dots (".") as package separators
jsonschema-maven-plugin/src/test/java/com/github/victools/jsonschema/plugin/maven/GlobHandlerTest.java