private static DocumentCollection CreateCollection() { return(BinaryEncodingOverTheWireTests.Client.CreateDocumentCollectionAsync( UriFactory.CreateDatabaseUri(BinaryEncodingOverTheWireTests.database.Id), new DocumentCollection { Id = Guid.NewGuid().ToString() + "collection", IndexingPolicy = new IndexingPolicy { IncludedPaths = new Collection <IncludedPath> { new IncludedPath { Path = "/*", Indexes = new Collection <Index> { RangeIndex.Range(DataType.Number, -1), RangeIndex.Range(DataType.String, -1), } } } }, }, new RequestOptions { OfferThroughput = 10000 }).Result); }