/** * @param string $elementType * @param string $attribute * @param string $value * * @dataProvider elementAttributeDataProvider */ public function testElementAttribute($elementType, $attribute, $value) { $this->model->setElementAttribute($elementType, $attribute, $value); $this->assertEquals($value, $this->model->getElementAttribute($elementType, $attribute)); }
/** * {@inheritdoc} */ public function getElementAttribute($elementType, $attribute) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getElementAttribute'); if (!$pluginInfo) { return parent::getElementAttribute($elementType, $attribute); } else { return $this->___callPlugins('getElementAttribute', func_get_args(), $pluginInfo); } }