public void assertXMLEqual(Reader control, Reader test) throws JDOMException{ Diff diff = compareXML(control, test); assert(diff.toString(), diff.similar()); }   public void assertXMLEqual(String err, String control, String test) throws JDOMException{ Diff diff = compareXML(control, test); assert(err + ", " + diff.toString(), diff.similar()); }   public void assertXMLEqual(String err, Reader control, Reader test) throws JDOMException{ Diff diff = compareXML(control, test); assert(err + ", " + diff.toString(), diff.similar()); }   public void assertXMLNotEqual(String control, String test) throws JDOMException{ Diff diff = compareXML(control, test); assert(diff.toString(), !diff.similar()); }   public void assertXMLNotEqual(String err, String control, String test) throws JDOMException{ Diff diff = compareXML(control, test); assert(err + ", " + diff.toString(), !diff.similar()); }   public void assertXMLNotEqual(Reader control, Reader test) throws JDOMException{ Diff diff = compareXML(control, test); assert(diff.toString(), !diff.similar()); }   public void assertXMLNotEqual(String err, Reader control, Reader test) throws JDOMException{ Diff diff = compareXML(control, test); assert(err + ", " + diff.toString(), !diff.similar()); } }
    public void assertXMLEqual(String control, String test) throws JDOMException{        assert(compareXML(control, test).similar());    }