/** * @return void */ public function testCurrent() { $this->assertSame($this->data[0], $this->documentCollection->current()); $this->documentCollection->next(); $this->assertSame($this->data[1], $this->documentCollection->current()); }
/** * @return void */ public function testCurrent() { $this->assertSame($this->data[0], $this->documentCollection->current()); $this->documentCollection->next(); $this->assertSame($this->data[1], $this->documentCollection->current()); }