### Question:
CellEditorControlImpl extends AbstractCanvasControl<AbstractCanvas> implements CellEditorControl { @Override protected void doDestroy() { this.editorControls.setGridPanelSupplier(Optional.empty()); } CellEditorControlImpl(); @Inject  CellEditorControlImpl(final CellEditorControls editorControls); @Override void bind(final DMNSession session); @Override CellEditorControls getCellEditorControls();  }### Answer:
@Test public void testDoDestroy() { control.bind(session); reset(editorControls); control.doDestroy(); verify(editorControls).setGridPanelSupplier(gridPanelSupplierArgumentCaptor.capture()); final Optional<Supplier<DMNGridPanel>> gridPanelSupplier = gridPanelSupplierArgumentCaptor.getValue(); assertFalse(gridPanelSupplier.isPresent()); }