| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function testHandle() |
||
| 14 | { |
||
| 15 | $this->expectOutputString( |
||
| 16 | 'word: mispelling | line: 10 | offset: 4 | suggestions: misspelling,misspellings | context: {"sentence":"two mispelling"}' . PHP_EOL |
||
| 17 | ); |
||
| 18 | |||
| 19 | (new EchoHandler())->handle( |
||
| 20 | [new Misspelling('mispelling', 4, 10, ['misspelling', 'misspellings'], ['sentence' => 'two mispelling'])] |
||
| 21 | ); |
||
| 24 |