protected function setUp() { parent::setUp(); $model = $this->getMockForAbstractClass('Magento\\ImportExport\\Model\\Source\\Import\\AbstractBehavior', array(array()), '', false, true, true, array('toArray')); $model->expects($this->any())->method('toArray')->will($this->returnValue($this->_sourceArray)); $this->_model = $model; }
protected function setUp() { parent::setUp(); $this->_model = new \Magento\ImportExport\Model\Source\Import\Behavior\Custom([]); }