| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function testIteratorIterationCallsFetchOncePerStep() : void |
||
| 16 | { |
||
| 17 | $stmt = $this->createMock(Statement::class); |
||
| 18 | |||
| 19 | $calls = 0; |
||
| 20 | $this->configureStatement($stmt, $calls); |
||
| 21 | |||
| 22 | $stmtIterator = new StatementIterator($stmt); |
||
| 23 | |||
| 24 | $this->assertIterationCallsFetchOncePerStep($stmtIterator, $calls); |
||
| 25 | } |
||
| 49 |