Google\Cloud\Tests\NaturalLanguage\AnnotationTest::testGetSentiment PHP Méthode

testGetSentiment() public méthode

public testGetSentiment ( )
    public function testGetSentiment()
    {
        $this->assertEquals(1, $this->annotation->sentiment()['polarity']);
    }