void resolveSelectors(EngineDiscoveryRequest request, CucumberEngineDescriptor engineDescriptor) {
        Predicate<String> packageFilter = buildPackageFilter(request);
        resolve(request, engineDescriptor, packageFilter);
        filter(engineDescriptor, packageFilter);
        pruneTree(engineDescriptor);
    }
@Test
    void resolveRequestWithUniqueIdSelectorFromClasspath() {
        DiscoverySelector resource = selectPackage("io.cucumber.junit.platform.engine");
        EngineDiscoveryRequest discoveryRequest = new SelectorRequest(resource);
        resolver.resolveSelectors(discoveryRequest, testDescriptor);

        Set<? extends TestDescriptor> descendants = testDescriptor.getDescendants();

        descendants.forEach(targetDescriptor -> {
            resetTestDescriptor();
            resolveRequestWithUniqueIdSelector(targetDescriptor.getUniqueId());
            assertEquals(1, testDescriptor.getChildren().size());
            assertThat(testDescriptor, allDescriptorsPrefixedBy(targetDescriptor.getUniqueId()));
        });
    }