protected function checkDuplication(
        RouteInterface $route,
        /*# string */ $routeKey,
        /*# string */ $method
    ) {
        if (isset($this->routes[$routeKey][$method])) {
            throw new LogicException(
                Message::get(
                    Message::RTE_ROUTE_DUPLICATED,
                    $route->getPattern(),
                    $method
                ),
                Message::RTE_ROUTE_DUPLICATED
            );
        }
    }