{
public void testMessageSerialization() throws Exception
{
ObjectToXml t1 = createObject(ObjectToXml.class);
t1.setAcceptMuleMessage(true);
<BUG>Map props = new HashMap();
props.put("object", new Apple());
props.put("string", "hello");</BUG>
MuleMessage msg = new DefaultMuleMessage("test", muleContext);
msg.setEncoding("UTF-8");

{
public void testMessageSerialization() throws Exception
{
ObjectToXml t1 = createObject(ObjectToXml.class);
t1.setAcceptMuleMessage(true);
MuleMessage msg = new DefaultMuleMessage("test", muleContext);
msg.setEncoding("UTF-8");
