Example #1
0
 public function testSetGetUsedProductAttributeIds()
 {
     $testConfigurable = $this->_getAttributeByCode('test_configurable');
     $actual = $this->_model->getUsedProductAttributeIds($this->_product);
     $expected = array($testConfigurable->getId());
     $this->assertEquals($expected, $actual);
 }