public void AttachReturnsCorrectResponse_WithSpatialIndexes()
        {
            Mock <CosmosContainerFluentDefinitionForCreate> mockContainerPolicyDefinition = new Mock <CosmosContainerFluentDefinitionForCreate>();
            Action <IndexingPolicy> callback = (policy) =>
            {
                Assert.AreEqual(1, policy.SpatialIndexes.Count);
                Assert.AreEqual("/path", policy.SpatialIndexes[0].Path);
            };

            IndexingPolicyFluentDefinition <CosmosContainerFluentDefinitionForCreate> indexingPolicyFluentDefinitionCore = new IndexingPolicyFluentDefinition <CosmosContainerFluentDefinitionForCreate>(
                mockContainerPolicyDefinition.Object,
                callback);

            indexingPolicyFluentDefinitionCore
            .WithSpatialIndex()
            .Path("/path")
            .Attach()
            .Attach();
        }