public static URI parse(String featureIdentifier) {
        return parse(FeaturePath.parse(featureIdentifier));
    }
@Test
    void reject_directory_form() {
        Executable testMethod = () -> FeatureIdentifier.parse(URI.create("classpath:/path/to"));
        IllegalArgumentException actualThrown = assertThrows(IllegalArgumentException.class, testMethod);
        assertThat("Unexpected exception message", actualThrown.getMessage(), is(equalTo(
            "featureIdentifier does not reference a single feature file: classpath:/path/to")));
    }