code: def test_get_trial(self):
      mock_get_trial = mock.MagicMock()
      expected_trial = {
          "name": "1",
          "state": "COMPLETED",
          "parameters": [
              {"parameter": "learning_rate", "floatValue": 0.001}
          ],
          "finalMeasurement": {
              "stepCount": 3,
              "metrics": [{"metric": "val_acc", "value": 0.9}],
          },
          "trial_infeasible": False,
          "infeasible_reason": None,
      }
      mock_get_trial.return_value.execute.return_value = expected_trial
  
      self._mock_discovery.projects().locations().studies().trials().get = (
          mock_get_trial
      )
  
      trial = self._client.get_trial(trial_id="1")
  
      mock_get_trial.assert_called_once_with(name=self._trial_name)
      self.assertEqual(trial, expected_trial)
  
imports: from googleapiclient import errors
  import httplib2
  import mock
  import tensorflow
  from tensorflow_cloud.tuner import vizier_client
label_desc: Use image node_id 13 for calling the VizierClientTest obj's underlying member method code with example usage: obj.test_get_trial() without return types