parser.parse("calyxo-foo-config-map-import.xml");
checkMap(context, (HashMap)context.getAttribute("map"));
}
public void testBaseList() throws ConfigException {
TestModuleContext context = new TestModuleContext("test");
BaseRootConfigParser parser = new BaseRootConfigParser(context);
URL url = getClass().getResource("calyxo-base-config-list.xml");
parser.parse(new URL[]{url});
List list = (List)context.getAttribute("list");
assertTrue(list.size() == 2);
assertEquals("foo", list.get(0));
assertEquals("foobar", list.get(1));
}