/** * @expectedException \GraphAware\SimpleMQ\Exception\SimpleMQException */ public function testRunWillThrowExceptionIfConnectionIsWrong() { $this->consumer->run(); }