public void TestAcceptNoChange() { var work = new WorkingCopy(); work.AcceptChanges(); Assert.IsFalse(work.Inserted); Assert.IsFalse(work.Updated); }
public void TestChangeIgnore() { var work = new WorkingCopy(); work.AcceptChanges(); work.Arguments = new WorkingArguments(); Assert.IsFalse(work.Inserted); Assert.IsFalse(work.Updated); }
public void TestChange() { var work = new WorkingCopy(); work.AcceptChanges(); work.BeginTime = DateTime.Now; Assert.IsFalse(work.Inserted); Assert.IsTrue(work.Updated); }