def METHOD_NAME(self, start_server_single_model_onnx):
    _, ports = start_server_single_model_onnx
    stub = create_channel(port=ports["grpc_port"])
    expected_input_metadata = {ResnetONNX.input_name: {'dtype': 1, 'shape': list(ResnetONNX.input_shape)}}
    expected_output_metadata = {ResnetONNX.output_name: {'dtype': 1, 'shape': list(ResnetONNX.output_shape)}}
    request = get_model_metadata(model_name=ResnetONNX.name)
    response = stub.GetModelMetadata(request, 10)
    input_metadata, output_metadata = model_metadata_response(response=response)
    logger.info("Input metadata: {}".format(input_metadata))
    logger.info("Output metadata: {}".format(output_metadata))
    assert response.model_spec.name == ResnetONNX.name
    assert expected_input_metadata == input_metadata
    assert expected_output_metadata == output_metadata