public function testShouldImplementNextMethodFromIterator() { // Arrange $cursor = $this->getCursor(); $this->setProtected($cursor, 'position', 7); // Assertion $cursor->next(); $this->assertAttributeEquals(8, 'position', $cursor); }