}
@Test
public void onTransUnitEditEvent() {
selectedTU = currentPageRows.get(0);
TransUnitEditEvent event = mock(TransUnitEditEvent.class);
when(event.getSelectedTransUnitId()).thenReturn(selectedTU.getId());
ArrayList<ToggleEditor> currentEditors = Lists.newArrayList(editor);
presenter.setStatesForTesting(selectedTU.getId(), 0, display);
when(display.getEditors()).thenReturn(currentEditors);
presenter.onTransUnitEdit(event);