コード例 #1
0
ファイル: ConfigurableTest.php プロジェクト: nja78/magento2
 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
 }