Exemplo n.º 1
0
 /**
  * @expectedException \PhpAmqpLib\Exception\AMQPRuntimeException
  */
 public function testLazyConnection()
 {
     $amqpLazyConnection = new AMQPLazyConnection('localhost', 123, 'lazy_user', 'lazy_password');
     $consumer = new Consumer($amqpLazyConnection, null);
     $consumer->getChannel();
 }