### Question:
CollectionEditorDOMElement extends BaseDOMElement<String, CollectionViewImpl> implements TakesValue<String>,
                                                                                                      Focusable { @Override public void setAccessKey(final char key) { getWidget().setAccessKey(key); } CollectionEditorDOMElement(final CollectionViewImpl widget,
                                      final GridLayer gridLayer,
                                      final GridWidget gridWidget); void setScenarioGridCell(ScenarioGridCell scenarioGridCell); void stopEditingMode(); @Override void initialise(final GridBodyCellRenderContext context); @Override String getValue(); @Override void setValue(final String value); @Override int getTabIndex(); @Override void setTabIndex(final int index); @Override void setAccessKey(final char key); @Override void setFocus(final boolean focused); @Override @SuppressWarnings("unchecked") void flush(final String value);  }### Answer:
@Test public void setAccessKey() { final char newAccessKey = 'i'; collectionEditorDOMElementSpy.setAccessKey(newAccessKey); verify(widgetMock, times(1)).setAccessKey(eq(newAccessKey)); }