@Test
public void twoThingsAreDifferentAfterLocationWasModified() {

    Thing thingA = ThingBuilder.create(THING_TYPE_UID, THING_UID).withConfiguration(new Configuration())
            .withLocation("foo").build();
    Thing thingB = ThingBuilder.create(THING_TYPE_UID, THING_UID).withConfiguration(new Configuration())
            .withLocation("foo").build();
    assertTrue(ThingHelper.equals(thingA, thingB));
    thingB.setLocation("bar");
    assertFalse(ThingHelper.equals(thingA, thingB));
}