@Test
public void testGetBody() {

   MessageImpl protonMessage = createProtonMessage();
   AMQPStandardMessage message = new AMQPStandardMessage(0, encodeMessage(protonMessage), null, null);
   Object body = message.getBody();
   assertTrue(body instanceof AmqpValue);
   AmqpValue amqpValueBody = (AmqpValue) body;
   assertNotNull(amqpValueBody.getValue());
   assertNotSame(((AmqpValue)protonMessage.getBody()).getValue(), amqpValueBody.getValue());
   assertEquals(((AmqpValue)protonMessage.getBody()).getValue(), amqpValueBody.getValue());
}