Exemple #1
0
 public function testBasicRecoverWithNoRequeue()
 {
     /** @var \Prophecy\Prophecy\ObjectProphecy|AMQPChannel $resource */
     $resource = $this->prophesize(AMQPChannel::class);
     $resource->basic_recover(false)->shouldBeCalled();
     $channel = new Channel();
     $channel->setResource($resource->reveal());
     $channel->basicRecover(false);
 }