public void testHasAttributeNS1() throws Throwable {
  String localName="nomatch";
  String namespaceURI="http://www.usa.com";
  Document doc;
  NodeList elementList;
  Element testNode;
  boolean state;
  doc=(Document)load("staffNS",builder);
  elementList=doc.getElementsByTagName("address");
  testNode=(Element)elementList.item(0);
  state=testNode.hasAttributeNS(namespaceURI,localName);
  assertFalse("throw_False",state);
}

public void testHasAttributeNS1 ( ) throws Throwable { String localName = "nomatch" ; String namespaceURI = "http://www.usa.com" ; Document doc ; NodeList elementList ; Element testNode ; boolean state ; doc = ( Document ) load ( "staffNS" , builder ) ; elementList = doc . getElementsByTagName ( "address" ) ; testNode = ( Element ) elementList . item ( 0 ) ; state = testNode . hasAttributeNS ( namespaceURI , localName ) ; assertFalse ( "throw_False" , state ) ; }
runs the test case .
