### Question:
TextAnnotation extends BaseArtifacts { public Set<String> getLabels() { return labels; } 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 getLabels() { assertEquals(3, tested.getLabels().size()); assertTrue(tested.getLabels().contains("all")); assertTrue(tested.getLabels().contains("lane_child")); assertTrue(tested.getLabels().contains("text_annotation")); }