GenericXMLHandler implements Cloneable { public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { throw new InternalError(e.toString()); } } GenericXMLHandler();  GenericXMLHandler(File xmlFile);  GenericXMLHandler(String xmlFile); void SetElementText(String xPathExpression, String value); void SetElementAttribute(String xPathExpression, String attribute, String value); String GetElementText(String xPathExpression); String GetElementAttr(String xPathExpression); ArrayList<String> GetElementList(String xPathExpression); boolean xPathExists(String xpathExpr); String toString(); void Save(); boolean isXMLValid(); Object clone(); String getParentPath(String xpath); String getCurrentPath(String xpath, int node); String getChildNode(String xpath); String getCurrentNamespace(String xpath); void setNamespace(String name, String value);  }
@Test public void testClone_1() throws Exception { GenericXMLHandler fixture = new GenericXMLHandler(new File("")); fixture.namespaces = new HashMap(); fixture.xml = ""; fixture.xmlDocument = new Document(); Object result = fixture.clone(); assertNotNull(result); }
@Test public void testClone_2() throws Exception { GenericXMLHandler fixture = new GenericXMLHandler(new File("")); fixture.namespaces = new HashMap(); fixture.xml = ""; fixture.xmlDocument = new Document(); Object result = fixture.clone(); assertNotNull(result); }