public function testThrowWrappedQueueException($method) { $this->innerQueue->expects($this->once())->method($method)->will($this->throwException(new \Exception())); $this->callQueueMethod($this->queue, $method); }