@Test
public void testParse() throws Exception {
File testFile = new File(this.getClass().getResource("appDevDebugProjectContainer.xml").getFile());
DocumentNamespacesParser entityNamesServiceParser = new DocumentNamespacesParser();
entityNamesServiceParser.parser(testFile);
Map<String, String> map = entityNamesServiceParser.getNamespaceMap();
assertEquals("\\AcmeProject\\FrontendBundle\\Document", map.get("AcmeProjectFrontendBundle"));
assertEquals("\\AcmeProject\\ApiBundle\\Document", map.get("AcmeProjectApiBundle"));
assertEquals("\\AcmeProject\\CoreBundle\\Document", map.get("AcmeProjectCoreBundle"));
}