@Override
    public List<Feature> get() {
        List<URI> featurePaths = featureOptions.getFeaturePaths();
        List<Feature> features = loadFeatures(featurePaths);
        if (features.isEmpty()) {
            if (featurePaths.isEmpty()) {
                log.warn(() -> "Got no path to feature directory or feature file");
            } else {
                log.warn(
                    () -> "No features found at " + featurePaths.stream().map(URI::toString).collect(joining(", ")));
            }
        }
        return features;
    }
@Test
    void logs_message_if_no_feature_paths_are_given(LogRecordListener logRecordListener) {
        Options featureOptions = Collections::emptyList;

        FeaturePathFeatureSupplier supplier = new FeaturePathFeatureSupplier(classLoader, featureOptions, parser);
        supplier.get();
        assertThat(logRecordListener.getLogRecords().get(1).getMessage(),
            containsString("Got no path to feature directory or feature file"));
    }