public void AddPostForecastStringNegativeTest(string price, EBuySell recommend, EAccessMode access, string tool, string forecast, string comment, string img)
        {
            _presenterMock.Setup(f => f.AccessModeState(It.IsAny <EState>()));
            _presenterMock.Setup(f => f.ForecastTimeState(It.IsAny <EState>()));
            _presenterMock.Setup(f => f.ToolState(It.IsAny <EState>()));
            _presenterMock.Setup(f => f.CommentState(It.IsAny <EState>()));
            _presenterMock.Setup(f => f.BuySellState(It.IsAny <EState>()));
            _repositoryMock.Setup(f => f.LangCreatePost.PriceLabel).Returns(It.IsAny <string>());
            _repositoryMock.Setup(f => f.LangCreatePost.ToolsButton).Returns(It.IsAny <string>());

            _interactor.AddPost(price, recommend, access, tool, forecast, comment, img);
        }
Exemple #2
0
 public void AddPost(string price, EBuySell recommend, EAccessMode access, string tool, EForecastTime timePeriod, string comment, string img)
 {
     _interactor.AddPost(price, recommend, access, tool, timePeriod, comment, img);
 }