public async void Should_Not_Find_Post_And_return_false()
        {
            var mediatorMock = new Mock <IMediator>();
            var sut          = new SchedulePostCommand.SchedulePostHandler(Context);

            var result = await sut.Handle(new SchedulePostCommand()
            {
                Id = 120
            }, CancellationToken.None);

            result.ShouldBeFalse();
        }
        public async void Should_Mark_As_Pending_And_Set_PublishedAt()
        {
            var publishDate  = DateTime.UtcNow;
            var mediatorMock = new Mock <IMediator>();
            var sut          = new SchedulePostCommand.SchedulePostHandler(Context);

            var result = await sut.Handle(new SchedulePostCommand()
            {
                Id = 1, PublishAt = publishDate
            }, CancellationToken.None);

            result.ShouldBeTrue();
            Context.EpisodeEntry.Count(x =>
                                       x.EpisodeEntryStatusId == Context.EpisodeEntryStatus.First(x => x.Name == StaticValues.Pending).Id).ShouldBe(1);

            Context.EpisodeEntry.First(x => x.Id == 1).PublishedAt.ShouldBe(publishDate);
        }