private static ParentDocumentEx GetParentDocumentEx()
        {
            var parentDocument = new ParentDocumentEx
            {
                Id = 7,
                D1 = "p7",
                ChildDocumentLevelOne = new Collection <ChildDocumentLevelOneEx>
                {
                    new ChildDocumentLevelOneEx
                    {
                        D2 = "p7.p21",
                        Id = 21,
                        ChildDocumentLevelTwo = new ChildDocumentLevelTwoEx
                        {
                            Id = 31,
                            D3 = "p7.p21.p31"
                        }
                    },
                    new ChildDocumentLevelOneEx
                    {
                        D2 = "p7.p21.p22",
                        Id = 22,
                        ChildDocumentLevelTwo = new ChildDocumentLevelTwoEx
                        {
                            Id = 32,
                            D3 = "p7.p21.p32"
                        }
                    }
                },
                ChildDocumentLevelTwoFromTop = new[]
                {
                    new ChildDocumentLevelTwoEx
                    {
                        Id = 71,
                        D3 = "p7.p21.testComplex71"
                    },
                    new ChildDocumentLevelTwoEx
                    {
                        Id = 72,
                        D3 = "p7.p21.testComplex72"
                    },
                    new ChildDocumentLevelTwoEx
                    {
                        Id = 73,
                        D3 = "p7.p21.testComplex73"
                    }
                }
            };

            return(parentDocument);
        }
 private static ParentDocumentEx GetParentDocumentEx()
 {
     var parentDocument = new ParentDocumentEx
     {
         Id = 7,
         D1 = "p7",
         ChildDocumentLevelOne = new Collection<ChildDocumentLevelOneEx>
         {
             new ChildDocumentLevelOneEx
             {
                 D2 = "p7.p21",
                 Id = 21,
                 ChildDocumentLevelTwo = new ChildDocumentLevelTwoEx
                 {
                     Id = 31,
                     D3 = "p7.p21.p31"
                 }
             },
             new ChildDocumentLevelOneEx
             {
                 D2 = "p7.p21.p22",
                 Id = 22,
                 ChildDocumentLevelTwo = new ChildDocumentLevelTwoEx
                 {
                     Id = 32,
                     D3 = "p7.p21.p32"
                 }
             }
         },
         ChildDocumentLevelTwoFromTop = new[]
         {
             new ChildDocumentLevelTwoEx
             {
                 Id = 71,
                 D3 = "p7.p21.testComplex71"
             },
             new ChildDocumentLevelTwoEx
             {
                 Id = 72,
                 D3 = "p7.p21.testComplex72"
             },
             new ChildDocumentLevelTwoEx
             {
                 Id = 73,
                 D3 = "p7.p21.testComplex73"
             }
         }
     };
     return parentDocument;
 }