@Test
public void testToIdObjectWithStringContainingStringEncodingPrefixAndThenUuidPrefix() throws Exception {

    String encodedUuidString = AMQPMessageIdHelper.AMQP_UUID_PREFIX + UUID.randomUUID().toString();
    String stringId = AMQPMessageIdHelper.AMQP_STRING_PREFIX + encodedUuidString;
    Object idObject = messageIdHelper.toIdObject(stringId);
    assertNotNull("null object should not have been returned", idObject);
    assertEquals("expected id object was not returned", encodedUuidString, idObject);
}