code: def test_to_dict(self):
      transcriber = LocalWhisperTranscriber()
      data = transcriber.to_dict()
      assert data == {
          "type": "haystack.components.audio.whisper_local.LocalWhisperTranscriber",
          "init_parameters": {
              "model": "large",
              "device": "cpu",
              "whisper_params": {},
          },
      }
  
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 3 for calling the TestLocalWhisperTranscriber obj's underlying member method code with example usage: obj.test_to_dict() without return types