public void test() throws IOException, SAXException {
byte[] expected_res = StreamUtils.readStream(getClass().getResourceAsStream("expected.txt"));
Main smooksMain = new Main();
LineOrder lineOrder;
lineOrder = smooksMain.runSmooksTransform(new Order());
assertTrue("Expected:\n" + new String(expected_res) + ". \nGot:\n" + lineOrder, StreamUtils.compareCharStreams(new ByteArrayInputStream(expected_res), new ByteArrayInputStream(lineOrder.toString().getBytes())));
}