public function testGetLogLevel() { // Test the default value $this->assertEquals(Zend_Log::INFO, $this->helper->getLogLevel(), "getLogLevel() returned an incorrect default value."); $this->clearConfigCache(); // Test a set value $this->getConfig()->saveConfig('klevu_search/developer/log_level', Zend_Log::WARN)->cleanCache(); $this->assertEquals(Zend_Log::WARN, $this->helper->getLogLevel(), "getLogLevel() failed to return the value set."); }