/**
  * @test
  * @expectedException \Exception
  */
 public function testFindMagentoRootDirNotFound()
 {
     $dir_prefix = __DIR__ . "/MagentoTest";
     $this->assertFileExists("{$dir_prefix}/a/b/app/Mage.php");
     $magento = new Magento("{$dir_prefix}/a/b");
     $this->assertFileNotExists("{$dir_prefix}/a/app/Mage.php");
     $magento->findMagentoRootDir("{$dir_prefix}/a");
 }
 /**
  * @return array
  */
 public function getAllValues()
 {
     $read = $this->_magento->getDatabaseReadAdapter();
     $query = $read->select()->from($this->_table_name, array('scope', 'scope_id', 'path', 'value'));
     return $read->fetchAll($query);
 }