@Test
public void testToIdObjectWithEncodedBinaryUppercaseHexString() throws Exception {

    byte[] bytes = new byte[] { (byte) 0x00, (byte) 0xAB, (byte) 0x09, (byte) 0xFF };
    Binary binaryId = new Binary(bytes);
    String provided = AMQPMessageIdHelper.AMQP_BINARY_PREFIX + "00AB09FF";
    Object idObject = messageIdHelper.toIdObject(provided);
    assertNotNull("null object should not have been returned", idObject);
    assertEquals("expected id object was not returned", binaryId, idObject);
}