| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function testToneAnalysis() |
||
| 13 | { |
||
| 14 | $response = $this->getMockResponse('ToneResponse.json'); |
||
| 15 | $data = json_decode($response->getBody(), true); |
||
| 16 | |||
| 17 | $analysis = ToneAnalysis::create($data); |
||
| 18 | |||
| 19 | $this->assertNotEmpty($analysis->getDocumentAnalysis()); |
||
| 20 | $this->assertNotEmpty($analysis->getSentenceAnalysis()); |
||
| 21 | } |
||
| 22 | } |
||
| 23 |