Google\Cloud\Tests\Snippets\PubSub\TopicTest::testName PHP 메소드

testName() 공개 메소드

public testName ( )
    public function testName()
    {
        $snippet = $this->snippetFromMethod(Topic::class, 'name');
        $snippet->addLocal('topic', $this->topic);
        $res = $snippet->invoke();
        $this->assertEquals(self::TOPIC, $res->output());
    }