Code example for Node

Methods: hasAttributes

0
     * @throws Throwable 
     *             Any uncaught exception causes test to fail 
     */ 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "Verifies that hasAttributes method returns false value.", 
        method = "hasAttributes", 
        args = {} 
    ) 
    public void testHasAttributes1() throws Throwable { 
        Document doc;
        NodeList addrList;
        Node addrNode;
        boolean state;
        doc = (Document) load("staff", builder);
        addrList = doc.getElementsByTagName("name");
        addrNode = addrList.item(0);
        state = addrNode.hasAttributes();
        assertFalse("throw_False", state);
    } 
    @TestTargetNew(