public function testPrev() { $this->arrayCollection->next(); $this->assertEquals(1, $this->arrayCollection->key()); $this->arrayCollection->prev(); $this->assertEquals(0, $this->arrayCollection->key()); $this->arrayCollection->prev(); $this->assertNull($this->arrayCollection->key()); }