protected function setUp() { parent::setUp(); /** create mocks */ $this->mResultPageFactory = $this->_mock(\Magento\Framework\View\Result\PageFactory::class); /** create object to test */ $this->obj = new Index($this->mContext, $this->mResultPageFactory); }
protected function setUp() { parent::setUp(); /** create object to test */ $this->obj = new TestedBase($this->mContext, self::ACL_RESOURCE, self::ACTIVE_MENU, self::BREADCRUMB_LABEL, self::BREADCRUMB_TITLE, self::PAGE_TITLE); }
protected function setUp() { parent::setUp(); $this->obj = new Index($this->mContext); }