getClass().getResourceAsStream("xml/simpleInput.xml");
InputStream expected =
getClass().getResourceAsStream("xml/simpleExpectedOutput.xml");
ByteArrayOutputStream output = new ByteArrayOutputStream();
XSLStreamMigrator migrator =
new XSLStreamMigrator(SIMPLE_STYLESHEET_LOCATION, reporter);
migrator.migrate(input, output, StepType.INTERMEDIATE);
String outputString = new String(output.toByteArray());
XMLUnit.setIgnoreWhitespace(true);
XMLAssert.assertXMLEqual("Result should be as expected",
new InputStreamReader(expected),