| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 13 | public function test($text, $firstValid, $firstLine, $secondValid, $secondLine)  | 
            ||
| 14 |     { | 
            ||
| 15 | $stream = new TextStream($text);  | 
            ||
| 16 | $this->assertSame($firstValid, $stream->isValid());  | 
            ||
| 17 | $this->assertSame($firstLine, $stream->getLine());  | 
            ||
| 18 | |||
| 19 | $stream->goNext();  | 
            ||
| 20 | $this->assertSame($secondValid, $stream->isValid());  | 
            ||
| 21 | $this->assertSame($secondLine, $stream->getLine());  | 
            ||
| 22 | }  | 
            ||
| 23 | |||
| 32 |