code: def test_transcribe_stream(self):
      comp = LocalWhisperTranscriber(model="large-v2")
      comp._model = MagicMock()
      comp._model.transcribe.return_value = {
          "text": "test transcription",
          "other_metadata": ["other", "meta", "data"],
      }
      path = (
          SAMPLES_PATH
          / "audio"
          / "this is the content of the document.wav"
      )
      bs = ByteStream.from_file_path(path)
      bs.meta["file_path"] = path
      results = comp.transcribe(sources=[bs])
      expected = Document(
          content="test transcription",
          meta={
              "audio_file": path,
              "other_metadata": ["other", "meta", "data"],
          },
      )
      assert results == [expected]
  
file_path: haystack/test/components/audio/test_whisper_local.py
imports: import sys
  from pathlib import Path
  from unittest.mock import patch, MagicMock
  import pytest
  import torch
  from haystack.dataclasses import Document, ByteStream
  from haystack.components.audio import LocalWhisperTranscriber
label_desc: Use image node_id 10 for calling the TestLocalWhisperTranscriber obj's underlying member method code with example usage: obj.test_transcribe_stream() without return types