{
Message msg = MessageFactory.getInstance().getMessage();
assertEquals((msg != null), true);
MapBody mapMessage = Payload.createMapBody(msg);
assertEquals(msg.getBody() instanceof MapBody, true);
mapMessage.setString("foo", "bar");
mapMessage.setBoolean("hello", true);
Enumeration<String> names = mapMessage.getMapNames();
assertNotNull(names);
assertEquals(mapMessage.getString("foo"), "bar");
assertEquals(mapMessage.getBoolean("hello"), true);
}