### Question:
XmlNamespaceUtils { public static Map<String, String> parseMappingsAddPrefix(final String... mappings) { final HashMap<String, String> result = new HashMap<>(); if (nonNull(mappings)) { for (final String mapping : mappings) { parseMappingAddPrefix(mapping, result); } } return result; } private  XmlNamespaceUtils(); static boolean parseMappingAddPrefix(final String mapping, final Map<String, String> target); static Map<String, String> parseMappingsAddPrefix(final String... mappings); static final String XMLNS; }### Answer:
@Test public void parseMappingsAddPrefix() { final Map<String, String> target = XmlNamespaceUtils.parseMappingsAddPrefix("x=y", "a=b"); assertEquals("y", target.get("xmlns:x")); assertEquals("b", target.get("xmlns:a")); }