### Question:
DelegateExecutionImpl implements BuildingBlockExecution, Serializable { @Override public void setVariable(final String key, final Serializable value) { this.execution.setVariable(key, value); } DelegateExecutionImpl(final Map<String, Serializable> seedMap);  DelegateExecutionImpl(final DelegateExecution execution); @JsonIgnore @Override GeneralBuildingBlock getGeneralBuildingBlock(); @Override T getVariable(final String key); @Override T getRequiredVariable(final String key); @Override void setVariable(final String key, final Serializable value); @JsonIgnore @Override Map<ResourceKey, String> getLookupMap(); @JsonIgnore @Override String getFlowToBeCalled(); @JsonIgnore @Override int getCurrentSequence(); void setDelegateExecution(final DelegateExecution execution); @JsonIgnore DelegateExecution getDelegateExecution();  }### Answer:
@Test public void setVariable() { final DelegateExecutionImpl impl = create(); impl.setVariable("var1", "value1"); assertEquals("value1", impl.get("var1")); }