@Test
public void testRepositoryListImport() throws UnsupportedEncodingException {

    ArrayList<RepositoryProperties> repositoryList = new ArrayList<>();
    repositoryList.add(new RepositoryProperties("mainTestRepository",
        "https://github.com/winery/mulit-repo-test"));
    repositoryList.add(new RepositoryProperties("standardTestRepository", "https://github.com/winery/test-repository", "plain"));
    MultiRepositoryManager multiRepositoryManager = new MultiRepositoryManager();
    multiRepositoryManager.addRepositoryToFile(repositoryList);
    try {
        assertTrue(Paths.get(Environments.getInstance().getRepositoryConfig().getRepositoryRoot(), URLEncoder.encode("https://github.com/winery", "UTF-8")).toFile().exists());
        assertTrue(Paths.get(Environments.getInstance().getRepositoryConfig().getRepositoryRoot(), URLEncoder.encode("https://github.com/winery", "UTF-8"), "mulit-repo-test").toFile().exists());
        assertTrue(Paths.get(Environments.getInstance().getRepositoryConfig().getRepositoryRoot(), URLEncoder.encode("https://github.com/winery", "UTF-8"), "multi-repo-dependency").toFile().exists());
        assertTrue(Paths.get(Environments.getInstance().getRepositoryConfig().getRepositoryRoot(), URLEncoder.encode("https://github.com/winery", "UTF-8"), "test-repository").toFile().exists());
    } catch (UnsupportedEncodingException e) {
        LOGGER.error("Error while encoding.");
        throw e;
    }
}