@Test
public void tryToCreateInstanceWithNonMatchingFeatureId() {

    final String expectedFeatureId = FEATURE_ID + "-nomatch";
    assertThatExceptionOfType(FeatureIdInvalidException.class)
            .isThrownBy(() -> SendFeatureMessage.of(THING_ID, expectedFeatureId, MESSAGE, DITTO_HEADERS))
            .withMessage("The Message contained feature ID <%s>. Expected was feature ID <%s>.", FEATURE_ID,
                    expectedFeatureId)
            .withNoCause();
}