public void DefaultIndexingPolicySameAsDocumentCollection() { CosmosContainerSettings containerSettings = new CosmosContainerSettings("TestContainer", "/partitionKey"); containerSettings.IndexingPolicy = new IndexingPolicy(); DocumentCollection dc = new DocumentCollection() { Id = "TestContainer", PartitionKey = new PartitionKeyDefinition() { Paths = new Collection <string>() { "/partitionKey" } } }; Documents.IndexingPolicy ip = dc.IndexingPolicy; CosmosContainerSettingsTests.AssertSerializedPayloads(containerSettings, dc); }