public static void assertXMLEqual ( String msg , Diff diff , boolean assertion ) { if ( assertion != diff . similar ( ) ) { fail ( getFailMessage ( msg , diff ) ) ; } }
Assert that the result of an XML comparison is or is not similar .