public void DoWork_with_no_WhenComplete() { bool doWorkDone = false; var worker = new Worker(); WorkerAction.Define() .DoWork(delegate { doWorkDone = true; }) .Run(worker); Assert.IsTrue(doWorkDone, "work not done"); }
public void TearDown() { _worker = null; }
public void SetUp() { _worker = new Worker(); }