static function clear($key) { self::$table[$key] = NULL; unset(self::$table[$key]); }
/** * @covers Monolog\Registry::clear */ public function testClearClears() { Registry::addLogger(new Logger('test1'), 'log'); Registry::clear(); $this->setExpectedException('\\InvalidArgumentException'); Registry::getInstance('log'); }