Google\Cloud\Tests\NaturalLanguage\AnnotationTest::testFetchesEntitiesByType PHP Method

testFetchesEntitiesByType() public method

    public function testFetchesEntitiesByType()
    {
        $this->assertEquals($this->entity, $this->annotation->entitiesByType('PERSON')[0]);
    }