/** * Make sure getDefaultBackend() throws exception * */ public function testGetDefaultBackendShouldThrowExceptionWhenConfigNotSet() { $this->setExpectedException('Zym_Cache_Exception'); Zym_Cache::setDefaultBackend(null); Zym_Cache::getDefaultBackend(); }