@Test
public void testToBaseMessageIdStringThrowsIAEWithUnexpectedType() {

    try {
        messageIdHelper.toBaseMessageIdString(new Object());
        fail("expected exception not thrown");
    } catch (IllegalArgumentException iae) {
        // expected
    }
}