Assert.assertTrue(loader.load(ServletContainerInitializer.class).isEmpty());
control.verify();
}
@Test
public void testParseConfigFile() throws IOException {
<BUG>Set<String> found = new HashSet<>();
</BUG>
loader = new WebappServiceLoader<>(context);
loader.parseConfigFile(found, getClass().getResource("service-config.txt"));
Assert.assertEquals(Collections.singleton("provider1"), found);

Assert.assertTrue(loader.load(ServletContainerInitializer.class).isEmpty());
control.verify();
}
@Test
public void testParseConfigFile() throws IOException {
LinkedHashSet<String> found = new LinkedHashSet<>();
loader = new WebappServiceLoader<>(context);
loader.parseConfigFile(found, getClass().getResource("service-config.txt"));
Assert.assertEquals(Collections.singleton("provider1"), found);
