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 ()); }
protected override void Store(IObjectContainerAdapter objectContainer) { objectContainer.Store(ParentItem.NewTestInstance ()); }