protected function setUp() { parent::setUp(); /** create mocks */ $this->mRepoGeneric = $this->_mockRepoGeneric(); $this->mSetup = $this->_mock(\Magento\Framework\Setup\ModuleDataSetupInterface::class); $this->mContext = $this->_mock(\Magento\Framework\Setup\ModuleContextInterface::class); /** create object to test */ $this->obj = new ChildToTest($this->mResource, $this->mRepoGeneric); }
public function setUp() { parent::setUp(); /** create object to test */ $this->obj = new InstallSchema($this->mResource, $this->mToolDem); }
protected function setUp() { parent::setUp(); /** create object to test */ $this->obj = new ChildToTest($this->mResource, $this->mToolDem); }