public function testBury() { $job = new Job(1234, 'data'); $this->pheanstalk->expects($this->once())->method('bury')->with($job); $this->manager->bury($job); }