### Question:
GwtDOMHandler { public Attr createAttributeNS(final String namespaceURI, final String qualifiedName) { return new GwtDOMAttr(namespaceURI, qualifiedName); } GwtDOMHandler(final Document document); Element createElement(final String tagName); Text createTextNode(final String data); Comment createComment(final String data); CDATASection createCDATASection(final String data); ProcessingInstruction createProcessingInstruction(final String target,
                                                             final String data); Element createElementNS(final String namespaceURI,
                                   final String qualifiedName); Attr createAttributeNS(final String namespaceURI,
                                  final String qualifiedName); Attr setAttributeNS(final Node node,
                               final String namespaceURI,
                               final String qualifiedName,
                               final String value); Attr setAttributeNodeNS(final Node element,
                                   final Attr attr); static Node getNamedItem(NamedNodeMap map,
                                    String uri,
                                    String localName); Document getDocument();  }### Answer:
@Test public void testCreateAttributeNS() { String namespaceURI = "uri1"; String qualifiedName = "fqn1"; Attr attr = tested.createAttributeNS(namespaceURI, qualifiedName); assertEquals(namespaceURI, attr.getNamespaceURI()); assertEquals(qualifiedName, attr.getName()); String value = "nodeValue1"; attr.setNodeValue(value); assertEquals(value, attr.getValue()); assertEquals(value, attr.getNodeValue()); }