Google\Cloud\Tests\Snippets\Logging\SinkTest::testName PHP 메소드

testName() 공개 메소드

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