when(userWorkspaceContext.hasEditTranslationAccess()).thenReturn(true);
List<String> targetContents = Lists.newArrayList("a");
when(transMemoryResultItem.getTargetContents()).thenReturn(
targetContents);
presenter.onTransMemoryCopy(new TransMemoryShortcutCopyEvent(0));
verify(eventBus).fireEvent(copyTMEventCaptor.capture());
assertThat(copyTMEventCaptor.getValue().getTargetResult(),
Matchers.equalTo(targetContents));
}