static FeatureResolver create(
            ConfigurationParameters parameters, CucumberEngineDescriptor engineDescriptor,
            Predicate<String> packageFilter
    ) {
        return new FeatureResolver(parameters, engineDescriptor, packageFilter);
    }
@Test
    void scenario() {
        TestDescriptor scenario = getScenario();
        assertEquals("A scenario", scenario.getDisplayName());
        assertEquals(
            asSet(create("FeatureTag"), create("ScenarioTag"), create("ResourceA"), create("ResourceAReadOnly")),
            scenario.getTags());
        assertEquals(of(from(featurePath, from(5, 3))), scenario.getSource());
        assertEquals(TEST, scenario.getType());
        assertEquals(
            id.append("feature", featureSegmentValue)
                    .append("scenario", "5"),
            scenario.getUniqueId());
        PickleDescriptor pickleDescriptor = (PickleDescriptor) scenario;
        assertEquals(Optional.of("io.cucumber.junit.platform.engine"), pickleDescriptor.getPackage());
    }