@Test
public void itFinishesActivityWhenKeyCodeBackIsPerformed() {

  when(event.getKeyCode()).thenReturn(KeyEvent.KEYCODE_BACK);
  audioPlayerController.dispatchKeyEvent(event);
  assertThat(activity.isFinishing(), is(true));
}