Example #1
0
 public function testAssignProductToOption()
 {
     $option = new Varien_Object();
     $this->_model->assignProductToOption('test', $option, $this->_product);
     $this->assertEquals('test', $option->getProduct());
     // other branch of logic depends on Mage_Sales module
 }