@Test
public void fromJsonOfEmptyArrayStringFailsWithException() {

    assertThatExceptionOfType(FeatureDefinitionEmptyException.class)
            .isThrownBy(() -> ThingsModelFactory.newFeatureDefinition("[]"))
            .withMessage("Feature Definition must not be empty!")
            .withNoCause();
}