public function testConfigSettingBroken() { $backend = new ezcTranslationCacheBackend($this->cacheObj); try { $backend->setOptions(array('lOcAtIOn' => 'tests/translations')); } catch (ezcBaseSettingNotFoundException $e) { self::assertEquals("The setting 'lOcAtIOn' is not a valid configuration setting.", $e->getMessage()); } }