presenter.setStatesForTesting(selectedTU.getId(), 0, display);
// When:
presenter
.onInsertString(new InsertStringInEditorEvent("", "suggestion"));
// Then:
verify(editor).insertTextInCursorPosition("suggestion");
verify(eventBus, atLeastOnce()).fireEvent(eventCaptor.capture());