@Test
public void shouldBeEqualsForSameFieldValues() {

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