@Test
public void testToBaseMessageIdStringWithBinary() {

    byte[] bytes = new byte[] { (byte) 0x00, (byte) 0xAB, (byte) 0x09, (byte) 0xFF };
    Binary binary = new Binary(bytes);
    String expected = AMQPMessageIdHelper.AMQP_BINARY_PREFIX + "00AB09FF";
    String baseMessageIdString = messageIdHelper.toBaseMessageIdString(binary);
    assertNotNull("null string should not have been returned", baseMessageIdString);
    assertEquals("expected base id string was not returned", expected, baseMessageIdString);
}