public function testGetArea() { $area = $this->_model->getArea('frontend'); $this->assertInstanceOf('Mage_Core_Model_App_Area', $area); $this->assertSame($area, $this->_model->getArea('frontend')); }
/** * @magentoAppIsolation enabled */ public function testLoadGetArea() { $this->_model->loadArea('frontend'); $this->assertSame($this->_model, $this->_model->getArea('frontend')->getApplication()); }