Google\Cloud\Tests\Snippets\Logging\LoggerTest::testEntryWithString PHP Method

testEntryWithString() public method

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