public function setUp()
{
$this->connection = $this->prophesize(ConnectionInterface::class);
$this->subscription = new \SubscriptionStub($this->connection->reveal(), 'foo', self::SUBSCRIPTION, self::TOPIC, false);
$this->pubsub = new \PubSubClientStub(['transport' => 'rest']);
$this->pubsub->setConnection($this->connection->reveal());
}