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