VastVideoViewController extends BaseVideoViewController implements DownloadTask.DownloadTaskListener { @Deprecated int getVideoRetries() { return mVideoRetries; } VastVideoViewController(final Context context,
            final Bundle bundle,
            final long broadcastIdentifier,
            final BaseVideoViewControllerListener baseVideoViewControllerListener); @Override boolean backButtonEnabled(); @Override void onComplete(String url, DownloadResponse downloadResponse);  }
@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(); }