| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function testNormalStatementIteration() |
||
| 38 | { |
||
| 39 | $it = new PDOStatementIterator($this->pdo->query('select name from entries limit 0, 2'), PDO::FETCH_NUM); |
||
| 40 | $this->assertEquals(array(array('0'), array('1')), iterator_to_array($it)); |
||
| 41 | $this->assertEquals(array(), iterator_to_array($it)); |
||
| 42 | } |
||
| 43 | |||
| 55 |