public static function reset() { static::$_configurations = array(); static::$_scope = false; if (isset(static::$_scopes)) { static::$_scopes->reset(); } }
public function tearDown() { Router::reset(); foreach ($this->_routes as $route) { Router::connect($route); } }