public function testProxies()
{
$connection = $this->prophesize(ConnectionInterface::class);
$connection->getSubscriptionIamPolicy(Argument::withEntry('foo', 'bar'))->willReturn('test')->shouldBeCalledTimes(1);
$connection->setSubscriptionIamPolicy(Argument::withEntry('foo', 'bar'))->willReturn('test')->shouldBeCalledTimes(1);
$connection->testSubscriptionIamPermissions(Argument::withEntry('foo', 'bar'))->willReturn('test')->shouldBeCalledTimes(1);
$iamSubscription = new IamSubscription($connection->reveal());
$this->assertEquals('test', $iamSubscription->getPolicy(['foo' => 'bar']));
$this->assertEquals('test', $iamSubscription->setPolicy(['foo' => 'bar']));
$this->assertEquals('test', $iamSubscription->testPermissions(['foo' => 'bar']));
}