Google\Cloud\Tests\Snippets\Logging\LoggerTest::testEntry PHP 메소드

testEntry() 공개 메소드

public testEntry ( )
    public function testEntry()
    {
        $snippet = $this->snippetFromMethod(Logger::class, 'entry');
        $snippet->addLocal('logger', $this->logger);
        $res = $snippet->invoke('entry');
        $this->assertInstanceOf(Entry::class, $res->returnVal());
    }