public void CommentInputTest() { _interactorMock.Setup(f => f.CommentInput(It.IsAny <bool>(), false)); var presenter = new PresenterCreatePost(_viewMock.Object, _interactorMock.Object, _routerMock.Object, _stylesHolderMock.Object, Localization.Lang); presenter.CommentInput(It.IsAny <bool>()); _interactorMock.Verify(f => f.CommentInput(It.IsAny <bool>(), false), Times.Once); }