Google\Cloud\Tests\NaturalLanguage\AnnotationTest::testGetSentiment PHP 메소드

testGetSentiment() 공개 메소드

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