public void plainTextEntityMarshallerHandlesMarshallAnnotation() {
PlainTextEntityMarshaller m = new PlainTextEntityMarshaller();
SimplePojo entity = new SimplePojo("test");
AnnotatedPojo marshallable = new AnnotatedPojo(entity);
View v = m.marshall(marshallable);
assertTrue(v instanceof PlainText);
assertEquals(new PlainText(entity).toString(), ((PlainText)v).toString());
}
@Test