public function testShouldDetachProcessToPool() { $process = $this->getMock('Arara\\Process\\Process'); $pool = new Pool(1); $pool->attach($process); $pool->detach($process); $this->assertCount(0, $pool); }