Package example.srcmodel

Examples of example.srcmodel.Order


    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())));
    }
View Full Code Here

TOP

Related Classes of example.srcmodel.Order

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.