### Question:
TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } 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 getGeneral() { assertNotNull(tested.getGeneral()); }
@Test public void setName() { Name name = new Name(this.getClass().getSimpleName()); tested.getGeneral().setName(name); assertEquals(name, tested.getGeneral().getName()); }
@Test public void setDocumentation() { Documentation documentation = new Documentation(this.getClass().getSimpleName()); tested.getGeneral().setDocumentation(documentation); assertEquals(documentation, tested.getGeneral().getDocumentation()); }