public function resolveGroup($pattern, $route = null)
    {
        foreach($this->groupHandlers as $handler)
        {
            if(!$handler->validate($pattern, $route))
                continue;

            return $handler->resolve($this, $pattern, $route);
        }

        foreach($this->defaultGroupHandlers as $handler)
        {
            if(!$handler->validate($pattern, $route))
                continue;

            return $handler->resolve($this, $pattern, $route);
        }

        throw new InvalidArgumentException('Unable to resolve the routing group pattern');
    }