Exemplo n.º 1
0
 public function testRollbackTransaction()
 {
     $resource = $this->prophesize(\AMQPChannel::class);
     $resource->rollbackTransaction()->shouldBeCalled();
     $channel = new Channel();
     $channel->setResource($resource->reveal());
     $channel->rollbackTransaction();
 }