@Test
public void shouldNotBeEqualIfWeekSettingDiffers() {

    EntityTag entityTag = new EntityTag("value", true);
    EntityTag entityTagWithDifferentWeakSetting = new EntityTag("value", false);
    assertThat(entityTag, not(equalTo(entityTagWithDifferentWeakSetting)));
    assertThat(entityTag.hashCode(), not(equalTo(entityTagWithDifferentWeakSetting.hashCode())));
}