public void testCreateAttributeNS1() throws Throwable {
  Document doc;
  Attr attribute;
  String namespaceURI=null;
  String qualifiedName="test";
  String nodeName;
  doc=(Document)load("staffNS",builder);
  attribute=doc.createAttributeNS(namespaceURI,qualifiedName);
  nodeName=attribute.getNodeName();
  assertEquals("documentcreateattributeNS01","test",nodeName);
}

public void testCreateAttributeNS1 ( ) throws Throwable { Document doc ; Attr attribute ; String namespaceURI = null ; String qualifiedName = "test" ; String nodeName ; doc = ( Document ) load ( "staffNS" , builder ) ; attribute = doc . createAttributeNS ( namespaceURI , qualifiedName ) ; nodeName = attribute . getNodeName ( ) ; assertEquals ( "documentcreateattributeNS01" , "test" , nodeName ) ; }
runs the test case .
