### Question:
TranslationPresenter { void shareTranslation() { if (model != null) { translationView.goToShare(model.getWord(), model.getMessageForShare()); } } TranslationPresenter(SozlikDao sozlikDao);   }### Answer:
@Test public void whenShareTranslationShowShareMessage() { when(sozlikDbModelMock.getWord()).thenReturn(SOME_WORD); when(sozlikDbModelMock.getMessageForShare()).thenReturn(SOME_TRANSLATION); translationPresenter.shareTranslation(); verify(translationViewMock, times(1)).goToShare(SOME_WORD, SOME_TRANSLATION); verifyNoMoreInteractions(translationViewMock); }