@Test
public void testToBaseMessageIdStringWithStringBeginningWithEncodingPrefixForBinary() {

    String binaryStringMessageId = AMQPMessageIdHelper.AMQP_BINARY_PREFIX + "0123456789ABCDEF";
    String expected = AMQPMessageIdHelper.AMQP_STRING_PREFIX + binaryStringMessageId;
    String baseMessageIdString = messageIdHelper.toBaseMessageIdString(binaryStringMessageId);
    assertNotNull("null string should not have been returned", baseMessageIdString);
    assertEquals("expected base id string was not returned", expected, baseMessageIdString);
}