コード例 #1
0
        protected override void AssertObjectsAreReadable(IExtObjectContainer objectContainer
                                                         )
        {
            var parentItem = (ParentItem
                              )RetrieveInstance(objectContainer, typeof(ParentItem
                                                                        ));

            Assert.IsNotNull(parentItem._children);
            Assert.IsNotNull(parentItem._children[0]);
            Assert.IsNotNull(parentItem._children[1]);
            objectContainer.Delete(parentItem);
            Assert.IsFalse(_failed);
            objectContainer.Store(ParentItem.NewTestInstance
                                      ());
        }
コード例 #2
0
 protected override void Store(IObjectContainerAdapter objectContainer)
 {
     objectContainer.Store(ParentItem.NewTestInstance
                               ());
 }