//THough the data is simple we are testing two things -
//1) Mixins are recognised by the Transformer resolver
//2) that we successfully marshal and marshal an object that is not annotated directly
MuleMessage message= new DefaultMuleMessage(APPLE_JSON, muleContext);
Apple apple = message.getPayload(DataTypeFactory.create(Apple.class));
assertNotNull(apple);
assertFalse(apple.isWashed());
assertTrue(apple.isBitten());
message= new DefaultMuleMessage(apple, muleContext);
String json = message.getPayload(DataTypeFactory.STRING);
assertNotNull(json);
JsonData data = new JsonData(json);