@Test
public void shouldLoadFromEnvWithVersionResolving() throws LifecycleExecutionException {

    EnvironmentSettingDependencyLoader loader = new EnvironmentSettingDependencyLoader() {
        @Override
        protected String getEnvSetting(String name) {
            return "org.foo:foo-artifact:@foo.version@,org.bar:bar-artifact:@bar.version@";
        }
    };
    properties.put("foo.version", "1.0.0");
    properties.put("bar.version", "1.5.0");
    List<Dependency> dependencyList = loader.load(properties, logger);
    TestHelper.verifyDependencies(dependencyList);
}