private static void CheckPersons(IDocumentCollection <Person> collection) { var person = collection.Find(_ => _.Id == "2").First(); person.Should().NotBeNull(); person.FirstName.Should().Be("Steve"); person.LastName.Should().Be("Ballmer"); person = collection.Get("1"); person.Should().NotBeNull(); person.FirstName.Should().Be("Bill"); person.LastName.Should().Be("Gates"); }