@Test
public void tryToCreateInstanceWithNullThingId() {

    assertThatNullPointerException()
            .isThrownBy(() -> FeatureDefinitionCreated.of((ThingId) null, TestConstants.Feature.FLUX_CAPACITOR_ID,
                    TestConstants.Feature.FLUX_CAPACITOR_DEFINITION, TestConstants.Thing.REVISION_NUMBER,
                    TestConstants.EMPTY_DITTO_HEADERS))
            .withMessage("The %s must not be null!", "Thing identifier")
            .withNoCause();
}