public static function methodNotAllowed(string $requestMethod, array $allowedMethods): self
    {
        return new self(
                'The given request method '
                . strtoupper($requestMethod)
                . ' is not valid. Please use one of '
                . join(', ', $allowedMethods) . '.',
                'Method Not Allowed'
        );
    }