public void testHasAttribute1() throws Throwable {
  Document doc;
  NodeList elementList;
  Element testNode;
  boolean state;
  doc=(Document)load("staff",builder);
  elementList=doc.getElementsByTagName("address");
  testNode=(Element)elementList.item(4);
  state=testNode.hasAttribute("domestic");
  assertFalse("throw_False",state);
}

public void testHasAttribute1 ( ) throws Throwable { Document doc ; NodeList elementList ; Element testNode ; boolean state ; doc = ( Document ) load ( "staff" , builder ) ; elementList = doc . getElementsByTagName ( "address" ) ; testNode = ( Element ) elementList . item ( 4 ) ; state = testNode . hasAttribute ( "domestic" ) ; assertFalse ( "throw_False" , state ) ; }
runs the test case .
