public void DefaultSameAsDocumentCollection()
        {
            ContainerProperties containerSettings = new ContainerProperties("TestContainer", "/partitionKey");

            DocumentCollection dc = new DocumentCollection()
            {
                Id           = "TestContainer",
                PartitionKey = new PartitionKeyDefinition()
                {
                    Paths = new Collection <string>()
                    {
                        "/partitionKey"
                    }
                }
            };

            CosmosContainerSettingsTests.AssertSerializedPayloads(containerSettings, dc);
        }
        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);
        }