public function name() { return $this->name; }
public function testName() { $topic = new Topic($this->connection->reveal(), 'test-topic-name', 'my-project'); $this->assertEquals($topic->name(), 'projects/my-project/topics/test-topic-name'); }