@Test
public void shouldLoadFromEnv() throws LifecycleExecutionException {

    EnvironmentSettingRepositoryLoader loader = new EnvironmentSettingRepositoryLoader() {
        @Override
        protected String getEnvSetting(String name) {
            return "central=https://repo.maven.apache.org/maven2/,jboss-ea=https://repository.jboss.org/nexus/content/groups/ea/";
        }
    };
    List<Repository> repositoryList = loader.load(logger);
    TestHelper.verifyRepositories(repositoryList);
}