AudioPlayer implements MediaPlayerControl, OnPreparedListener { @Override public void pause() { mediaPlayer.pause(); } @Inject  AudioPlayer(MediaPlayer mediaPlayer, EventBus eventBus, EpisodeFile episodeFile); MediaPlayer play(Episode episode); void release(); @Override void start(); @Override void pause(); @Override int getDuration(); @Override int getCurrentPosition(); @Override void seekTo(int pos); @Override boolean isPlaying(); @Override int getBufferPercentage(); @Override boolean canPause(); @Override boolean canSeekBackward(); @Override boolean canSeekForward(); @Override int getAudioSessionId(); @Override void onPrepared(MediaPlayer mediaPlayer);  }
@Test public void itPausesMediaPlayer() { audioPlayer.pause(); verify(mediaPlayerMock).pause(); }