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