public void xmlEntityMarshallerUnmarshalls() {
XMLEntityMarshaller m = new XMLEntityMarshaller();
String xml = "<SimplePojo><val>test</val></SimplePojo>";
ByteArrayInputStream in = new ByteArrayInputStream(xml.getBytes());
SimplePojo entity = m.unmarshall(in, SimplePojo.class);
assertNotNull(entity);
assertEquals("test", entity.getVal());
}
@Test