package testutil import "context" type FakeSpeechTranscriber struct { Transcript string Error error CallCount int } func (f *FakeSpeechTranscriber) Transcribe(_ context.Context, _ []byte, _ string) (string, error) { f.CallCount++ return f.Transcript, f.Error }