public void jsonEntityMarshallerUnmarshalls() {
JSONEntityMarshaller m = new JSONEntityMarshaller();
String json = "{\"val\":\"test\"}";
ByteArrayInputStream in = new ByteArrayInputStream(json.getBytes());
SimplePojo entity = m.unmarshall(in, SimplePojo.class);
assertNotNull(entity);
assertEquals("test", entity.getVal());
}
@Test