def METHOD_NAME(self):
    comp = LocalWhisperTranscriber(model_name_or_path="large-v2")
    comp._model = MagicMock()
    comp._model.transcribe.return_value = {
        "text": "test transcription",
        "other_metadata": ["other", "meta", "data"],
    }
    results = comp.run(
        audio_files=[str((SAMPLES_PATH / "audio" / "this is the content of the document.wav").absolute())]
    )
    expected = Document(
        content="test transcription",
        metadata={
            "audio_file": str((SAMPLES_PATH / "audio" / "this is the content of the document.wav").absolute()),
            "other_metadata": ["other", "meta", "data"],
        },
    )
    assert results["documents"] == [expected]