public void SuccessfulResponsesFromVK_PostMethodWasCalled()
        {
            _sut.Execute(Id);

            Mock.Get(_wall)
            .Verify(x => x.Get(It.IsAny <WallGetParams>(), It.IsAny <bool>()), Times.Once);
            Mock.Get(_wall)
            .Verify(x => x.Post(It.IsAny <WallPostParams>()), Times.Once);
            Mock.Get(_log)
            .Verify(x => x.Error(It.IsAny <string>()), Times.Never);
            Mock.Get(_log)
            .Verify(x => x.Info($"Post was created. Id: {PostId}."), Times.Once);
        }
        public void CountOfPostsLessThenNeed_ErrorInLog()
        {
            _sut = new LetterStatsReporter(_api, _log, 10);

            _sut.Execute(Id);

            Mock.Get(_wall)
            .Verify(x => x.Get(It.IsAny <WallGetParams>(), It.IsAny <bool>()), Times.Once);
            Mock.Get(_wall)
            .Verify(x => x.Post(It.IsAny <WallPostParams>()), Times.Never);
            Mock.Get(_log)
            .Verify(x => x.Error(It.IsAny <string>()), Times.Once);
        }