public void test() throws IOException, SAXException {
XMLBinding xmlBinding =
new XMLBinding().add(getClass().getResourceAsStream("POType-binding.xml")).intiailize();
String poXML = StreamUtils.readStreamAsString(getClass().getResourceAsStream("po.xml"));
POType po = xmlBinding.fromXML(new StringSource(poXML), POType.class);
StringWriter writer = new StringWriter();
xmlBinding.toXML(po, writer);
XMLUnit.setIgnoreWhitespace(true);