}
}
public void testMulipleContextsAndAliassesAndPaths() throws Exception {
String entryText = "alias1;path1;context1, alias1;/path2;context2, alias2;/path3, alias3;path2;context1, ";
ResourceEntryMap entries = getEntries(entryText);
List<ResourceEntry> list;
ResourceEntry item;
list = entries.getEntry("context1");
assertEquals(2, list.size());
item = list.get(0);
assertEquals("/alias1", item.getAlias());
assertPaths(item, "/path1");
item = list.get(1);
assertEquals("/alias3", item.getAlias());
assertPaths(item, "/path2");
list = entries.getEntry("");
assertEquals(1, list.size());
item = list.get(0);
assertEquals("/alias2", item.getAlias());
assertPaths(item, "/path3");
list = entries.getEntry("context2");
assertEquals(1, list.size());
item = list.get(0);
assertEquals("/alias1", item.getAlias());
assertPaths(item, "/path2");