public function init()
 {
     if (!empty($this->_options)) {
         foreach ($this->_options as $name => $options) {
             $resource = new Robo47_Application_Resource_Cache($options);
             $resource->init();
             $this->_caches[$name] = $resource->getCache();
         }
     } else {
         $message = 'Empty options in resource ' . 'Robo47_Application_Resource_CacheMulti.';
         throw new Robo47_Application_Resource_Exception($message);
     }
 }
 /**
  * @covers Robo47_Application_Resource_Cache::init
  * @covers Robo47_Application_Resource_Cache::_setupCache
  */
 public function testInitWithoutBackendName()
 {
     $options = array('frontendName' => 'Robo47_Cache_Backend_Array');
     $resource = new Robo47_Application_Resource_Cache($options);
     try {
         $resource->init();
         $this->fail('No Exception thrown with options without backendName');
     } catch (Robo47_Application_Resource_Exception $e) {
         $this->assertEquals('Cache config doesn\'t contain backendName', $e->getMessage());
     }
 }