### Question:
NavigationSpeechPlayer implements SpeechPlayer { @Override public void setMuted(boolean isMuted) { this.isMuted = isMuted; speechPlayerProvider.setMuted(isMuted); } NavigationSpeechPlayer(SpeechPlayerProvider speechPlayerProvider); @Override void play(SpeechAnnouncement speechAnnouncement); @Override boolean isMuted(); @Override void setMuted(boolean isMuted); @Override void onOffRoute(); @Override void onDestroy();  }### Answer:
@Test public void onSetMuted_providerIsSetMuted() { SpeechPlayerProvider provider = mock(SpeechPlayerProvider.class); NavigationSpeechPlayer navigationSpeechPlayer = new NavigationSpeechPlayer(provider); navigationSpeechPlayer.setMuted(true); verify(provider).setMuted(true); }