@Test
public void checkDifferentIds() {

    final EntityIdWithType entityIdFoo = DummyImplementation.of(ENTITY_TYPE_PLUMBUS, "foo");
    final EntityIdWithType entityIdBar = DummyImplementation.of(ENTITY_TYPE_PLUMBUS, "bar");
    assertThatIllegalArgumentException()
            .isThrownBy(() -> entityIdFoo.isCompatibleOrThrow(entityIdBar))
            .withMessage("The entity ID <%s> is not compatible with <%s>!", entityIdBar, entityIdFoo)
            .withNoCause();
}