Exemple #1
0
 /**
  * Test for method isAttributeParticular()
  */
 public function testIsAttributeParticular()
 {
     $attributeCode = 'test';
     $property = new \ReflectionProperty($this->_model, '_specialAttributes');
     $property->setAccessible(true);
     $property->setValue($this->_model, [$attributeCode]);
     $this->assertTrue($this->_model->isAttributeParticular($attributeCode));
 }