### Question:
SiteMapConfigurationImpl implements SiteMapConfiguration { @Override public Map<String, String> getXmlNamespaces() { return XmlNamespaceUtils.parseMappingsAddPrefix(config.xmlnsMappings()); }  @Activate void activate(final SiteMapConfigurationImplConfig config); @Deactivate void deactivate(); @Override Pattern getPagePathPattern(); @Override PageRecognizer getPageRecognizer(); @Override UrlExternalizer getUrlExternalizer(); @Override Map<String, String> getXmlNamespaces(); @Override Collection<PropertyProvider> getPropertyProviders(); @Override Set<String> getMandatoryCachedPaths();  }### Answer:
@Test public void getXmlNamespaces() { when(config.xmlnsMappings()).thenReturn(new String[] { "x=a", Y }); final Map<String, String> xmlNamespaces = model.getXmlNamespaces(); assertNotNull(xmlNamespaces); assertTrue(xmlNamespaces.containsKey("xmlns:x")); assertEquals("a", xmlNamespaces.get("xmlns:x")); assertFalse(xmlNamespaces.containsKey("xmlns:y")); }