Example #1
0
 public function setUp()
 {
     parent::setUp();
     $model = $this->getMockForAbstractClass('Mage_ImportExport_Model_Source_Import_BehaviorAbstract', array(array('helpers' => $this->_helpers)), '', true, true, true, array('toArray'));
     $model->expects($this->any())->method('toArray')->will($this->returnValue($this->_sourceArray));
     $this->_model = $model;
 }
Example #2
0
 public function setUp()
 {
     parent::setUp();
     $this->_model = new Mage_ImportExport_Model_Source_Import_Behavior_Basic(array('helpers' => $this->_helpers));
 }