private void AssertChildItem(IExtObjectContainer objectContainer, string name, bool
                                     expectToBeFound)
        {
            IQuery query = objectContainer.Query();

            query.Constrain(typeof(DeletionUponFormatMigrationTestCase.ChildItem));
            query.Descend("_name").Constrain(name);
            IObjectSet result = query.Execute();

            Assert.AreEqual(expectToBeFound, result.HasNext(), name);
            if (expectToBeFound)
            {
                DeletionUponFormatMigrationTestCase.ChildItem childItem = (DeletionUponFormatMigrationTestCase.ChildItem
                                                                           )result.Next();
                Assert.AreEqual(name, childItem._name);
            }
        }
 public Item(int id, DeletionUponFormatMigrationTestCase.ChildItem child, DeletionUponFormatMigrationTestCase.Item
             [] items) : this(id)
 {
     _child = child;
     _array = items;
 }