package testutil import ( "context" "github.com/paramah/gw_telegram/internal/domain/port" ) type FakeSpeechTranscriber struct { Result port.TranscriptionResult Error error CallCount int } func (f *FakeSpeechTranscriber) Transcribe(_ context.Context, _ []byte, _ string) (port.TranscriptionResult, error) { f.CallCount++ return f.Result, f.Error }