public virtual void TestRetrieve() { TypedArrayInObjectTestCase.Data data = (TypedArrayInObjectTestCase.Data)((TypedArrayInObjectTestCase.Data )RetrieveOnlyInstance(typeof(TypedArrayInObjectTestCase.Data))); Assert.IsTrue(data._obj is AtomData[], "Expected instance of " + typeof(AtomData[] ) + ", but got " + data._obj); Assert.IsTrue(data._objArr is AtomData[], "Expected instance of " + typeof(AtomData []) + ", but got " + data._objArr); ArrayAssert.AreEqual(Array, data._objArr); ArrayAssert.AreEqual(Array, (AtomData[])data._obj); }
protected override void Store() { TypedArrayInObjectTestCase.Data data = new TypedArrayInObjectTestCase.Data(Array, Array); Db().Store(data); }
protected override void Store() { TypedArrayInObjectTestCase.Data data = new TypedArrayInObjectTestCase.Data(Array, Array); Db().Store(data); }