### Question:
NavigationSpeechListener implements SpeechListener { @Override public void onDone() { audioFocusManager.abandonAudioFocus(); } NavigationSpeechListener(SpeechPlayerProvider speechPlayerProvider,
                           SpeechAudioFocusManager audioFocusManager); @Override void onStart(); @Override void onDone(); @Override void onError(String errorText, SpeechAnnouncement speechAnnouncement);  }### Answer:
@Test public void onDone_audioFocusIsAbandoned() { SpeechAudioFocusManager audioFocusManager = mock(SpeechAudioFocusManager.class); NavigationSpeechListener navigationSpeechListener = buildSpeechListener(audioFocusManager); navigationSpeechListener.onDone(); verify(audioFocusManager).abandonAudioFocus(); }