@Test
public void setAttributesWorksAsExpected() {

    final Attributes newAttributes = ThingsModelFactory.newAttributesBuilder()
            .set("manufacturer", "Bosch SI")
            .build();
    final Thing changedThing = KNOWN_THING_V1.setAttributes(newAttributes);
    assertThat(changedThing)
            .isNotSameAs(KNOWN_THING_V1)
            .hasId(THING_ID)
            .hasAcl(ACL)
            .hasAttributes(newAttributes)
            .hasFeatures(FEATURES)
            .hasLifecycle(LIFECYCLE)
            .hasRevision(REVISION);
}