@Test public void shouldLoadFromPropertyFile() throws LifecycleExecutionException { List<Dependency> dependencyList = loader.load(properties, logger); TestHelper.verifyDependencies(dependencyList); }
@Override public List<Dependency> load(Properties properties, Logger logger) throws LifecycleExecutionException { List<Dependency> dependencyList = new ArrayList<>(); loadFromFileSystem(dependencyList, properties, logger); loadFromClasspath(dependencyList, properties, logger); return dependencyList; }
FeatureTagsDependencyLoader implements DependencyLoader { @Override public List<Dependency> load(Properties properties, Logger logger) throws LifecycleExecutionException { List<Dependency> dependencyList = new ArrayList<>(); loadFromFileSystem(dependencyList, properties, logger); loadFromClasspath(dependencyList, properties, logger); return dependencyList; } }
FeatureTagsDependencyLoader implements DependencyLoader { @Override public List<Dependency> load(Properties properties, Logger logger) throws LifecycleExecutionException { List<Dependency> dependencyList = new ArrayList<>(); loadFromFileSystem(dependencyList, properties, logger); loadFromClasspath(dependencyList, properties, logger); return dependencyList; }  }
FeatureTagsDependencyLoader implements DependencyLoader { @Override public List<Dependency> load(Properties properties, Logger logger) throws LifecycleExecutionException { List<Dependency> dependencyList = new ArrayList<>(); loadFromFileSystem(dependencyList, properties, logger); loadFromClasspath(dependencyList, properties, logger); return dependencyList; }  @Override List<Dependency> load(Properties properties, Logger logger); }
FeatureTagsDependencyLoader implements DependencyLoader { @Override public List<Dependency> load(Properties properties, Logger logger) throws LifecycleExecutionException { List<Dependency> dependencyList = new ArrayList<>(); loadFromFileSystem(dependencyList, properties, logger); loadFromClasspath(dependencyList, properties, logger); return dependencyList; }  @Override List<Dependency> load(Properties properties, Logger logger);  }