Google\Cloud\Tests\Snippets\Logging\LoggingClientTest::testSink PHP 메소드

testSink() 공개 메소드

public testSink ( )
    public function testSink()
    {
        $snippet = $this->snippetFromMethod(LoggingClient::class, 'sink');
        $snippet->addLocal('logging', $this->client);
        $res = $snippet->invoke();
        $this->assertEquals('my-sink', $res->output());
    }