when(display.getId()).thenReturn(selectedTU.getId());
when(display.getEditors()).thenReturn(Lists.newArrayList(editor));
presenter.setStatesForTesting(selectedTU.getId(), 0, display);
presenter
.onDataCopy(new CopyDataToEditorEvent(Arrays.asList("target")));
verify(editor).setTextAndValidate("target");
verify(eventBus, atLeastOnce()).fireEvent(eventCaptor.capture());
NotificationEvent notificationEvent =
TestFixture.extractFromEvents(eventCaptor.getAllValues(),