public void should_be_cancelled_work() { DispatcherToken.WaitCompleted(); MockWorkerHandler.Verify(p => p.HandleError(null, It.IsAny <decimal>(), true), Times.Once); }
public void should_be_from_all_worker_one_error() { DispatcherToken.WaitCompleted(); MockWorkerHandler.Verify(p => p.HandleError(It.IsAny <Exception>(), It.IsAny <decimal>(), It.IsAny <bool>()), Times.Once); }