/** * Test that PersistentCollection::current() initializes the collection. */ public function testCurrentInitializesCollection() { $this->setUpPersistentCollection(); $this->collection->current(); $this->assertTrue($this->collection->isInitialized()); }