### Question:
WebappClassLoaderContext { List<String> getProvidedRepositories() { List<String> repositories = new ArrayList<>(); selectedEnvironments.entrySet() .stream() .map(Map.Entry::getValue) .forEach(repositories::addAll); return repositories; } WebappClassLoaderContext(Context context);   }### Answer:
@Test public void testRepositoriesCount() { Assert.assertEquals(classLoaderContext.getProvidedRepositories().size(), 2, "Repository count"); }
@Test public void testRepositories() throws IOException { List<String> repositories = classLoaderContext.getProvidedRepositories(); for (String repository : repositories) { URL libUrl = new URL(repository); InputStream is = libUrl.openStream(); is.close(); } Assert.assertTrue(true, "Open All Repository URL's"); }