t.setMuleContext(muleContext);
DefaultMuleMessage msg = new DefaultMuleMessage("message", muleContext);
msg.setOutboundProperty("badProperty", "badValue");
assertEquals("badValue", msg.<Object>getOutboundProperty("badProperty"));
DefaultMuleMessage transformed = (DefaultMuleMessage) t.transform(msg, (String)null);
assertSame(msg, transformed);
assertEquals(msg.getUniqueId(), transformed.getUniqueId());
assertEquals(msg.getPayload(), transformed.getPayload());
compareProperties(msg, transformed);