code: def test_search_routes_token_with_invalid_token_values(index):
      token = SearchRoutesToken(index)
      encoded_token = token.encode()
      with pytest.raises(
          MlflowException, match="Invalid SearchRoutes token"
      ):
          SearchRoutesToken.decode(encoded_token)
  
file_path: mlflow/tests/gateway/test_utils.py
imports: import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.gateway.utils import SearchRoutesToken, _is_valid_uri, assemble_uri_path, check_configuration_route_name_collisions, get_gateway_uri, is_valid_endpoint_name, resolve_route_url, set_gateway_uri
label_desc: Use image node_id 10 for calling a global function with example usage: test_search_routes_token_with_invalid_token_values(index) without return types