private static void AssertContentsVectors(ITermVectorResponse result) { result.IsValid.Should().BeTrue(); result.Found.Should().BeTrue(); result.TermVectors.Count().Should().Be(1); var contentTermVector = result.TermVectors["content"]; contentTermVector.FieldStatistics.Should().NotBeNull(); contentTermVector.FieldStatistics.DocumentCount.Should().BeGreaterOrEqualTo(1); contentTermVector.FieldStatistics.SumOfDocumentFrequencies.Should().BeGreaterOrEqualTo(1); contentTermVector.FieldStatistics.SumOfTotalTermFrequencies.Should().BeGreaterOrEqualTo(1); contentTermVector.Terms.Count.Should().BeGreaterOrEqualTo(1); var firstTerm = contentTermVector.Terms.First().Value; firstTerm.Tokens.Should().NotBeNull(); firstTerm.TotalTermFrequency.Should().Be(0); firstTerm.DocumentFrequency.Should().Be(0); }