void resolveSelectors(EngineDiscoveryRequest request, CucumberEngineDescriptor engineDescriptor) {
        Predicate<String> packageFilter = buildPackageFilter(request);
        resolve(request, engineDescriptor, packageFilter);
        filter(engineDescriptor, packageFilter);
        pruneTree(engineDescriptor);
    }
@Test
    void resolveRequestWithMultipleClasspathResourceSelector() {
        DiscoverySelector resource1 = selectClasspathResource("io/cucumber/junit/platform/engine/single.feature");
        DiscoverySelector resource2 = selectClasspathResource(
            "io/cucumber/junit/platform/engine/feature-with-outline.feature");
        EngineDiscoveryRequest discoveryRequest = new SelectorRequest(resource1, resource2);
        resolver.resolveSelectors(discoveryRequest, testDescriptor);
        assertEquals(2, testDescriptor.getChildren().size());
    }