public void CanBeFound()
 {
     worker.work(0, (Job job) =>
     {
         Assert.That(Worker.find(worker.workerId()).workerId(), Is.EqualTo(worker.workerId()));
         return(true);
     });
 }
Beispiel #2
0
 public static void removeWorker(string workerId)
 {
     Worker.find(workerId).unregisterWorker();
 }