@Test
public void testConvertTextMessageContentNotStoredCreatesAmqpValueStringBody() throws Exception {

    String contentString = "myTextMessageContent";
    ActiveMQTextMessage outbound = createTextMessage(contentString);
    outbound.onSend();
    JMSMappingOutboundTransformer transformer = new JMSMappingOutboundTransformer();
    EncodedMessage encoded = transformer.transform(outbound);
    assertNotNull(encoded);
    Message amqp = encoded.decode();
    assertNotNull(amqp.getBody());
    assertTrue(amqp.getBody() instanceof AmqpValue);
    assertEquals(contentString, ((AmqpValue) amqp.getBody()).getValue());
}