def METHOD_NAME(self, start_server_single_model_onnx):
    _, ports = start_server_single_model_onnx
    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)}}
    rest_url = get_metadata_url(model=ResnetONNX.name, port=ports["rest_port"])
    response = get_model_metadata_response_rest(rest_url)
    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