public function setUp() { $this->configData = array('ownerModel' => 'fairy', 'itemModel' => 'flower', 'path' => 'favorites.' . $this->configOwnerProperty, $this->ownerPropertyName => $this->configOwnerProperty); $this->propertyConfig = $this->config($this->configData); parent::setUp(); $this->documentPlanner = $this->getPlanner('document'); $this->method($this->planners, 'document', $this->documentPlanner, array()); }
protected function config($map, $methodMap = array()) { $methodMap['ownerProperty'] = $this->configData[$this->ownerPropertyName]; return parent::config($map, $methodMap); }