@Test
public void testEqualsWithIdNotSame() {

    NameAwareAttribute attr1 = new NameAwareAttribute("someAttribute");
    NameAwareAttribute attr2 = new NameAwareAttribute("someOtherAttribute");
    assertThat(attr1.equals(attr2)).isFalse();
}