### Question:
GlobalVariablesElement extends ElementDefinition<String> { @Override public void setValue(BaseElement element, String value) { setStringValue(element, value); } GlobalVariablesElement(String name); @Override String getValue(BaseElement element); @Override void setValue(BaseElement element, String value);  }### Answer:
@Test public void testSetValue() { BaseElement baseElement = bpmn2.createProcess(); CustomElement.globalVariables.of(baseElement).set(GLOBAL_VARIABLES); assertEquals(GLOBAL_VARIABLES, CustomElement.globalVariables.of(baseElement).get()); }