public void SaveDataTest()
        {
            _repositoryMock.SetupSet(f => f.CreatePostStrings = It.IsAny <CreatePostStrings>());

            _interactor.SaveData(It.IsAny <CreatePostStrings>());

            _repositoryMock.VerifySet(f => f.CreatePostStrings = It.IsAny <CreatePostStrings>(), Times.Once);
        }
示例#2
0
 public void SaveData()
 {
     _interactor.SaveData(new CreatePostStrings(_viewCreatePost.AccessModeText, _viewCreatePost.BuySellText,
                                                _viewCreatePost.ForecastTimeText, _viewCreatePost.CommentText));
 }