code: def test_obtain(self, urlopen):
      request = MagicMock(spec=Request)
      response = urlopen.return_value
  
      actual = google.obtain_transcription(request, 0)
  
      self.assertEqual(
          actual, response.read.return_value.decode.return_value
      )
      urlopen.assert_called_once_with(request, timeout=0)
      response.read.assert_called_once_with()
      response.read.return_value.decode.assert_called_once_with("utf-8")
  
imports: from unittest import TestCase
  from unittest.mock import MagicMock, patch
  from urllib.request import Request
  from speech_recognition import Recognizer
  from speech_recognition.audio import AudioData
  from speech_recognition.recognizers import google
label_desc: Use image node_id 1 for calling the ObtainTranscriptionTestCase obj's underlying member method code with example usage: obj.test_obtain(urlopen) without return types