public function setUp()
{
$this->policyData = [];
$this->resource = 'testObject';
$this->connection = $this->prophesize(IamConnectionInterface::class);
$this->iam = new \IamStub($this->connection->reveal(), $this->resource);
$this->iam->setConnection($this->connection->reveal());
}