assertEquals(5.20d, orderItem.getPrice());
assertEquals(222, orderItem.getProductId());
assertEquals(new Integer(7), orderItem.getQuantity());
StringWriter orderWriter = new StringWriter();
xmlBinding.toXML(order, orderWriter);
XMLUnit.setIgnoreWhitespace(true);
XMLAssert.assertXMLEqual(Main.orderXMLMessage, orderWriter.toString());
}
}