XMLEntityMarshaller m = new XMLEntityMarshaller();
SimplePojo entity = new SimplePojo("test");
AnnotatedPojo marshallable = new AnnotatedPojo(entity);
View v = m.marshall(marshallable);
assertTrue(v instanceof XML);
assertEquals(new XML(entity).toString(), ((XML)v).toString());
}