Tests that the empty result set iterates safely.
function testEmptyIteration() { $result = new StatementEmpty(); foreach ($result as $record) { $this ->fail('Iterating empty result set should not iterate.'); return; } }