public function testIam() { $topic = new Topic($this->connection->reveal(), 'topic-name', 'project-name'); $this->assertInstanceOf(Iam::class, $topic->iam()); }