@Config(reportSdk = VERSION_CODES.ICE_CREAM_SANDWICH_MR1)
@Test
public void onError_withVideoFilePermissionErrorBelowJellyBean_shouldRetryPlayingTheVideo() throws Exception {

    File file = new File("disk_video_path");
    file.createNewFile();
    initializeSubject();
    assertThat(getShadowVideoView().getCurrentVideoState()).isEqualTo(-1);
    assertThat(subject.getVideoRetries()).isEqualTo(0);
    getShadowVideoView().getOnErrorListener().onError(new MediaPlayer(), 1, Integer.MIN_VALUE);
    assertThat(getShadowVideoView().isPlaying()).isTrue();
    assertThat(subject.getVideoRetries()).isEqualTo(1);
    file.delete();
}