Esempio n. 1
0
 public function testGetWorkerById()
 {
     $worker = new Worker('*');
     $worker->registerWorker();
     $newWorker = Worker::find((string) $worker);
     $this->assertEquals((string) $worker, (string) $newWorker);
 }