@Test
public void testToBaseMessageIdStringWithStringBeginningWithEncodingPrefixForLong() {

    String longStringMessageId = AMQPMessageIdHelper.AMQP_ULONG_PREFIX + Long.valueOf(123456789L);
    String expected = AMQPMessageIdHelper.AMQP_STRING_PREFIX + longStringMessageId;
    String baseMessageIdString = messageIdHelper.toBaseMessageIdString(longStringMessageId);
    assertNotNull("null string should not have been returned", baseMessageIdString);
    assertEquals("expected base id string was not returned", expected, baseMessageIdString);
}