public async Task Test_StatisticsObjectJsonReader_ReadObject_From_JsonReader_Incomplete_3()
        {
            var traktJsonReader = new StatisticsObjectJsonReader();

            using (var reader = new StringReader(JSON_INCOMPLETE_3))
                using (var jsonReader = new JsonTextReader(reader))
                {
                    var traktStatistics = await traktJsonReader.ReadObjectAsync(jsonReader);

                    traktStatistics.Should().NotBeNull();
                    traktStatistics.Watchers.Should().Be(129920);
                    traktStatistics.Plays.Should().Be(3563853);
                    traktStatistics.Collectors.Should().BeNull();
                    traktStatistics.CollectedEpisodes.Should().Be(1310350);
                    traktStatistics.Comments.Should().Be(96);
                    traktStatistics.Lists.Should().Be(49468);
                    traktStatistics.Votes.Should().Be(9274);
                }
        }
        public async Task Test_StatisticsObjectJsonReader_ReadObject_From_JsonReader_Not_Valid_8()
        {
            var traktJsonReader = new StatisticsObjectJsonReader();

            using (var reader = new StringReader(JSON_NOT_VALID_8))
                using (var jsonReader = new JsonTextReader(reader))
                {
                    var traktStatistics = await traktJsonReader.ReadObjectAsync(jsonReader);

                    traktStatistics.Should().NotBeNull();
                    traktStatistics.Watchers.Should().BeNull();
                    traktStatistics.Plays.Should().BeNull();
                    traktStatistics.Collectors.Should().BeNull();
                    traktStatistics.CollectedEpisodes.Should().BeNull();
                    traktStatistics.Comments.Should().BeNull();
                    traktStatistics.Lists.Should().BeNull();
                    traktStatistics.Votes.Should().BeNull();
                }
        }
 public async Task Test_StatisticsObjectJsonReader_ReadObject_From_JsonReader_Null()
 {
     var traktJsonReader = new StatisticsObjectJsonReader();
     Func <Task <ITraktStatistics> > traktStatistics = () => traktJsonReader.ReadObjectAsync(default(JsonTextReader));
     await traktStatistics.Should().ThrowAsync <ArgumentNullException>();
 }