@Test
public void testToBaseMessageIdStringWithStringBeginningWithEncodingPrefixForUUID() {

    String uuidStringMessageId = AMQPMessageIdHelper.AMQP_UUID_PREFIX + UUID.randomUUID();
    String expected = AMQPMessageIdHelper.AMQP_STRING_PREFIX + uuidStringMessageId;
    String baseMessageIdString = messageIdHelper.toBaseMessageIdString(uuidStringMessageId);
    assertNotNull("null string should not have been returned", baseMessageIdString);
    assertEquals("expected base id string was not returned", expected, baseMessageIdString);
}