protected void AssertState(IValue v, String mdata, String content, bool umdata, bool ucontent) { Assert.AreEqual(mdata, (String)v.BeforeInv(_history).Metadata); Assert.AreEqual(content, v.BeforeInv(_history).ContentString); Assert.AreEqual(umdata, ((Value)v.BeforeInv(_history)).SaveMyMetadataPlease); Assert.AreEqual(ucontent, ((Value)v.BeforeInv(_history)).SaveMyContentPlease); }
protected void AssertState(IValue v, String mdata, String content) { Assert.AreEqual(mdata, (String)v.BeforeInv(_history).Metadata); Assert.AreEqual(content, v.BeforeInv(_history).ContentString); }