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