@Test
public void testToIdObjectWithEncodedUlong() throws Exception {

    UnsignedLong longId = UnsignedLong.valueOf(123456789L);
    String provided = AMQPMessageIdHelper.AMQP_ULONG_PREFIX + "123456789";
    Object idObject = messageIdHelper.toIdObject(provided);
    assertNotNull("null object should not have been returned", idObject);
    assertEquals("expected id object was not returned", longId, idObject);
}