Diff d = new Diff(expected, actual);
assertTrue("Upgraded data doesn't match expected data: " + d, d.similar());
}
catch (Exception e) {
throw new XmlTestException("Failed to assert similar between XSLT output and expected XML", output, e);
}
catch (Error e) {
throw new XmlTestException("Failed to assert similar between XSLT output and expected XML", output, e);
}
EasyMock.verify(targetComponent, transformerSource);
}