@Test
public void testConvertStreamMessageToAmqpMessageWithAmqpSequencey() throws Exception {

    ActiveMQStreamMessage outbound = createStreamMessage();
    outbound.setShortProperty(JMS_AMQP_ORIGINAL_ENCODING, AMQP_SEQUENCE);
    outbound.onSend();
    outbound.storeContent();
    JMSMappingOutboundTransformer transformer = new JMSMappingOutboundTransformer();
    EncodedMessage encoded = transformer.transform(outbound);
    assertNotNull(encoded);
    Message amqp = encoded.decode();
    assertNotNull(amqp.getBody());
    assertTrue(amqp.getBody() instanceof AmqpSequence);
    assertTrue(((AmqpSequence) amqp.getBody()).getValue() instanceof List);
}