@Test
public void testConvertMessageToAmqpMessageWithNoBody() throws Exception {

    ActiveMQMessage outbound = createMessage();
    outbound.onSend();
    outbound.storeContent();
    JMSMappingOutboundTransformer transformer = new JMSMappingOutboundTransformer();
    EncodedMessage encoded = transformer.transform(outbound);
    assertNotNull(encoded);
    Message amqp = encoded.decode();
    assertNull(amqp.getBody());
}