public function testSetValueNullRemovesKey() { $default = 'default'; $this->mockValue = null; $this->setMockWriteExpectation($this->once()); $this->config->set($this->key, $this->mockValue); $value = $this->config->get($this->key, $default); $this->assertEquals($default, $value); }
/** * Clear the cache of the configuration * @return null */ public function clearConfigCache() { $this->config->clearCache(); }