@Test
public void setFeaturePropertyWorksAsExpected() {

    final JsonPointer propertyPath = JsonFactory.newPointer("target_year_4");
    final JsonValue newPropertyValue = JsonFactory.newValue(1337);
    final Thing changedThing = KNOWN_THING_V1.setFeatureProperty(FLUX_CAPACITOR_ID, propertyPath, newPropertyValue);
    assertThat(changedThing)
            .isNotSameAs(KNOWN_THING_V1)
            .hasId(THING_ID)
            .hasAcl(ACL)
            .hasAttributes(ATTRIBUTES)
            .hasFeatureProperty(FLUX_CAPACITOR_ID, propertyPath, newPropertyValue)
            .hasLifecycle(LIFECYCLE)
            .hasRevision(REVISION);
}