@Test(expected = DittoJsonException.class)
public void newFeaturesWithNonObjectValue() {

    final String featureId = "featureId";
    final JsonObject jsonObject = JsonFactory.newObjectBuilder()
            .set(featureId, "notAnObject")
            .build();
    ThingsModelFactory.newFeatures(jsonObject);
}