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

testFetchesTokensByLabel() public method

    public function testFetchesTokensByLabel()
    {
        $this->assertEquals($this->token, $this->annotation->tokensByLabel('P')[0]);
    }