public List<R> scanForResourcesInClasspathRoot(URI root, Predicate<String> packageFilter) {
        requireNonNull(root, "root must not be null");
        requireNonNull(packageFilter, "packageFilter must not be null");
        BiFunction<Path, Path, Resource> createResource = createClasspathRootResource();
        return findResourcesForUri(root, DEFAULT_PACKAGE_NAME, packageFilter, createResource);
    }
@Test
    void scanForResourcesInClasspathRootJar() {
        URI classpathRoot = new File("src/test/resources/io/cucumber/core/resource/test/jar-resource.jar").toURI();
        List<URI> resources = resourceScanner.scanForResourcesInClasspathRoot(classpathRoot, aPackage -> true);
        assertThat(resources, containsInAnyOrder(
            URI.create("classpath:jar-resource.txt"),
            URI.create("classpath:com/example/package-jar-resource.txt")));
    }