| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function testGetters() |
||
| 11 | { |
||
| 12 | $isError = true; |
||
| 13 | $responseText = 'this is text'; |
||
| 14 | $promptMatches = [1, 'two']; |
||
| 15 | |||
| 16 | $response = new TelnetResponse($isError, $responseText, $promptMatches); |
||
| 17 | |||
| 18 | $this->assertEquals($isError, $response->isError()); |
||
| 19 | $this->assertEquals($responseText, $response->getResponseText()); |
||
| 20 | $this->assertEquals($promptMatches, $response->getPromptMatches()); |
||
| 21 | } |
||
| 22 | } |
||
| 23 |