### Question:
TextAnnotation extends BaseArtifacts { @Override public int hashCode() { return HashUtil.combineHashCodes(general.hashCode(), backgroundSet.hashCode(), fontSet.hashCode(), dimensionsSet.hashCode()); } TextAnnotation();  TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
                          final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
                          final @MapsTo("fontSet") FontSet fontSet,
                          final @MapsTo("dimensionsSet") RectangleDimensionsSet dimensionsSet); Set<String> getLabels(); BPMNGeneralSet getGeneral(); void setGeneral(final BPMNGeneralSet general); @Override int hashCode(); @Override boolean equals(Object o);  }### Answer:
@Test public void testHashCode() { assertEquals(new TextAnnotation().hashCode(), tested.hashCode()); }