### Question:
CaseManagementDiagram implements BPMNDiagram<DiagramSet, ProcessData, AdvancedData> { @Override public void setAdvancedData(AdvancedData advancedData) { this.advancedData = advancedData; } CaseManagementDiagram();  CaseManagementDiagram(final @MapsTo(DIAGRAM_SET) DiagramSet diagramSet,
                                 final @MapsTo(PROCESS_DATA) ProcessData processData,
                                 final @MapsTo(CASE_MANAGEMENT_SET) CaseManagementSet caseManagementSet,
                                 final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
                                 final @MapsTo("fontSet") FontSet fontSet,
                                 final @MapsTo("dimensionsSet") RectangleDimensionsSet dimensionsSet,
                                 final @MapsTo(ADVANCED_DATA) AdvancedData advancedData); String getCategory(); Set<String> getLabels(); @Override DiagramSet getDiagramSet(); @Override void setDiagramSet(final DiagramSet diagramSet); RectangleDimensionsSet getDimensionsSet(); void setDimensionsSet(final RectangleDimensionsSet dimensionsSet); @Override CaseManagementSet getCaseManagementSet(); @Override void setCaseManagementSet(final CaseManagementSet caseManagementSet); @Override ProcessData getProcessData(); @Override void setProcessData(final ProcessData processData); @Override BackgroundSet getBackgroundSet(); @Override void setBackgroundSet(final BackgroundSet backgroundSet); @Override FontSet getFontSet(); @Override void setFontSet(final FontSet fontSet); @Override BPMNBaseInfo getGeneral(); @Override AdvancedData getAdvancedData(); @Override void setAdvancedData(AdvancedData advancedData); @Override int hashCode(); @Override boolean equals(Object o); @Category
    static final transient String category; static final String DIAGRAM_SET; static final String PROCESS_DATA; static final String ADVANCED_DATA; static final String CASE_MANAGEMENT_SET; }### Answer:
@Test public void testSetAdvancedData() { tested.setAdvancedData(new AdvancedData(new GlobalVariables(GLOBAL_VARIABLES), new MetaDataAttributes(METADATA))); AdvancedData advancedData = new AdvancedData(new GlobalVariables(GLOBAL_VARIABLES), new MetaDataAttributes(METADATA)); assertEquals(advancedData, tested.getAdvancedData()); assertEquals(advancedData.getGlobalVariables(), tested.getAdvancedData().getGlobalVariables()); assertEquals(advancedData.getGlobalVariables(), tested.getAdvancedData().getGlobalVariables()); }