public function testDestroyException()
 {
     $wp = new WorkerPool();
     $wp->setWorkerPoolSize(50);
     $wp->create(new Fixtures\FatalFailingWorker());
     $failCount = 0;
     try {
         for ($i = 0; $i < 50; $i++) {
             $wp->run($i);
             $a = $wp->getFreeAndBusyWorkers();
         }
     } catch (\Exception $e) {
         $this->assertTrue(FALSE, 'An unexpected exception was thrown.');
     }
     $result = TRUE;
     try {
         $wp->destroy();
     } catch (\Exception $e) {
         $result = FALSE;
     }
     $this->assertTrue($result, 'WorkerPool::Destroy shouldn\\t throw an exception.');
 }