public void AddPostTest() { _interactorMock.Setup(f => f.AddPost(It.IsAny <string>(), It.IsAny <EBuySell>(), It.IsAny <EAccessMode>(), It.IsAny <string>(), It.IsAny <EForecastTime>(), It.IsAny <string>(), It.IsAny <string>())); var presenter = new PresenterCreatePost(_viewMock.Object, _interactorMock.Object, _routerMock.Object, _stylesHolderMock.Object, Localization.Lang); presenter.AddPost(It.IsAny <string>(), It.IsAny <EBuySell>(), It.IsAny <EAccessMode>(), It.IsAny <string>(), It.IsAny <EForecastTime>(), It.IsAny <string>(), It.IsAny <string>()); _interactorMock.Verify(f => f.AddPost(It.IsAny <string>(), It.IsAny <EBuySell>(), It.IsAny <EAccessMode>(), It.IsAny <string>(), It.IsAny <EForecastTime>(), It.IsAny <string>(), It.IsAny <string>()), Times.Once); }