public void _testHasAttributeNS1() throws Throwable {
  Document doc;
  Element element;
  boolean state;
  NodeList elementList;
  doc=(Document)load("staffNS",builder);
  elementList=doc.getElementsByTagNameNS("*","employee");
  element=(Element)elementList.item(0);
  state=element.hasAttributeNS("http://www.w3.org/2000/xmlns/","xmlns");
  assertTrue("elementhasattributens01",state);
}

public void _testHasAttributeNS1 ( ) throws Throwable { Document doc ; Element element ; boolean state ; NodeList elementList ; doc = ( Document ) load ( "staffNS" , builder ) ; elementList = doc . getElementsByTagNameNS ( "*" , "employee" ) ; element = ( Element ) elementList . item ( 0 ) ; state = element . hasAttributeNS ( "http://www.w3.org/2000/xmlns/" , "xmlns" ) ; assertTrue ( "elementhasattributens01" , state ) ; }
runs the test case .
