@Test
public void testToIdObjectWithEncodedUuid() throws Exception {

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