/** * @return null */ public function tearDown() { KernelRegistry::setRouteMap($this->backup); $this->dispatcher = null; $_GET = $this->bkSuperGlobals['get']; $_POST = $this->bkSuperGlobals['post']; $_FILES = $this->bkSuperGlobals['files']; $_COOKIE = $this->bkSuperGlobals['cookie']; $cli = $this->bkSuperGlobals['argv']; if (null !== $cli) { $_SERVER['argv'] = $cli; } }