public function test_install() { /** === Test Data === */ /** === Setup Mocks === */ // $setup->startSetup(); $this->mSetup->shouldReceive('startSetup')->once(); // $this->_setup(); // $this->_resource->getTableName('test entity'); $this->mResource->shouldReceive('getTableName')->once(); // $setup->endSetup(); $this->mSetup->shouldReceive('endSetup')->once(); /** === Call and asserts === */ $this->obj->install($this->mSetup, $this->mContext); }
public function test_install() { /** === Test Data === */ /** === Setup Mocks === */ // $setup->startSetup(); $this->mSetup->shouldReceive('startSetup')->once(); // $this->_setup(); // $this->_toolDem->readDemPackage('pathToFile', 'pathToNode'); $this->mToolDem->shouldReceive('readDemPackage')->once(); // $setup->endSetup(); $this->mSetup->shouldReceive('endSetup')->once(); /** === Call and asserts === */ $this->obj->install($this->mSetup, $this->mContext); }
public function test_logMemoryUsage() { /** === Call and asserts === */ $this->obj->logMemoryUsage(); }