def METHOD_NAME(self):
    self._set_up()
    md_builder = saved_model_metadata_builder.SavedModelMetadataBuilder(
        self.model_path, tags=[tf.saved_model.tag_constants.SERVING]
    )
    expected_md = {
        "inputs": {"x": {"inputTensorName": "inp:0"}},
        "outputs": {"y": {"outputTensorName": "Relu:0"}},
    }
    assert md_builder.get_metadata() == expected_md