code: def test_create_serve_grpc_server():
      """Test `create_serve_grpc_server()` creates the correct server.
  
      The server created by `create_serve_grpc_server()` should be an instance of
      Serve defined `gRPCServer`. Also, the handler factory passed with the function
      should be used to initialize the `gRPCServer`.
      """
      grpc_server = create_serve_grpc_server(
          service_handler_factory=fake_service_handler_factory
      )
      assert isinstance(grpc_server, gRPCServer)
      assert (
          grpc_server.service_handler_factory
          == fake_service_handler_factory
      )
  
file_path: ray/python/ray/serve/tests/unit/test_grpc_util.py
imports: import pickle
  from typing import Callable
  import grpc
  import pytest
  from google.protobuf.any_pb2 import Any
  from ray import cloudpickle
  from ray.serve._private.grpc_util import DummyServicer, create_serve_grpc_server, gRPCServer
  from ray.serve._private.test_utils import FakeGrpcContext
  from ray.serve.grpc_util import RayServegRPCContext
label_desc: Use image node_id 3 for calling a global function with example usage: test_create_serve_grpc_server() without return types