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

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

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