@Test
public void setFeaturePropertiesWorksAsExpected() {

    final FeatureProperties newFeatureProperties =
            ThingsModelFactory.newFeaturePropertiesBuilder(FLUX_CAPACITOR_PROPERTIES)
                    .set("target_year_4", 1337)
                    .build();
    final Thing changedThing = KNOWN_THING_V1.setFeatureProperties(FLUX_CAPACITOR_ID, newFeatureProperties);
    assertThat(changedThing)
            .isNotSameAs(KNOWN_THING_V1)
            .hasId(THING_ID)
            .hasAcl(ACL)
            .hasAttributes(ATTRIBUTES)
            .hasFeatureProperties(FLUX_CAPACITOR_ID, newFeatureProperties)
            .hasLifecycle(LIFECYCLE)
            .hasRevision(REVISION);
}