@Test(expected = JsonKeyInvalidException.class)
public void createInvalidFeatureId() {

    final String invalidFeatureId = "invalidFeatureId/";
    final JsonObject jsonObject = JsonFactory.newObjectBuilder()
            .set(invalidFeatureId, JsonFactory.newObject())
            .build();
    ThingsModelFactory.newFeatures(jsonObject);
}