### Question:
BaseArtifacts implements BPMNViewDefinition { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(backgroundSet), Objects.hashCode(fontSet), Objects.hashCode(dimensionsSet)); } BaseArtifacts(final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
                         final @MapsTo("fontSet") FontSet fontSet,
                         final @MapsTo("dimensionsSet") RectangleDimensionsSet dimensionsSet); String getCategory(); BackgroundSet getBackgroundSet(); FontSet getFontSet(); RectangleDimensionsSet getDimensionsSet(); void setBackgroundSet(final BackgroundSet backgroundSet); void setFontSet(final FontSet fontSet); void setDimensionsSet(final RectangleDimensionsSet dimensionsSet); @Override int hashCode(); @Override boolean equals(Object o); @Category
    static final transient String category; }### Answer:
@Test public void testHashCode() { assertNotEquals(new DataObject().hashCode(), tested.hashCode()); assertNotEquals(new TextAnnotation().hashCode(), tested.hashCode()); }