Google\Cloud\Tests\Snippets\Vision\AnnotationTest::testLogos PHP Method

testLogos() public method

public testLogos ( )
    public function testLogos()
    {
        $snippet = $this->snippetFromMethod(Annotation::class, 'logos');
        $snippet->addLocal('annotation', new Annotation(['logoAnnotations' => [[]]]));
        $res = $snippet->invoke('logos');
        $this->assertInstanceOf(Entity::class, $res->returnVal()[0]);
    }