public function testSetStorage() { $storage = $this->getMock('Morph_Storage'); $propertySet = new Morph_PropertySet(); $propertySet['P1'] = $this->getMockPropertyForSetStorage(); $propertySet->setStorage($storage); }
/** * Sets the storage object for this object * @param Morph_Storage $storage * @return void */ public function __setStorage(Morph_Storage $storage) { $this->Storage = $storage; $this->propertySet->setStorage($storage); }