public function tearDown() { colesoApplication::setEnvironment($this->savedEnvironment); colesoToken::testReset(); if ($this->cachePath) { colesoApplication::setConfigVal('/system/cacheDir', $this->savedSystemCachePath); } }