@Test
public void tryToCreateInstanceWithNullThingIdString() {

    assertThatExceptionOfType(ThingIdInvalidException.class)
            .isThrownBy(() -> FeatureDefinitionCreated.of((String) null, TestConstants.Feature.FLUX_CAPACITOR_ID,
                    TestConstants.Feature.FLUX_CAPACITOR_DEFINITION, TestConstants.Thing.REVISION_NUMBER,
                    TestConstants.EMPTY_DITTO_HEADERS))
            .withMessage("Thing ID 'null' is not valid!");
}