public void WriteFail() { bool called = false; writer.write = true; Hookup(); diskManager.QueueWrite(rig.Manager, 0, data, data.Length, delegate { called = true; }); CheckFail(); Assert.IsTrue(called, "#delegate called"); }
public void WriteFail() { bool called = false; writer.write = true; Hookup(); diskManager.QueueWrite(rig.Manager, 0, data, data.Length, delegate { called = true; }); CheckFail(); Assert.IsTrue(called, "#delegate called"); }