VastVideoViewController extends BaseVideoViewController implements DownloadTask.DownloadTaskListener { @Override protected void onDestroy() { stopProgressChecker(); broadcastAction(ACTION_INTERSTITIAL_DISMISS); } VastVideoViewController(final Context context,
            final Bundle bundle,
            final long broadcastIdentifier,
            final BaseVideoViewControllerListener baseVideoViewControllerListener); @Override boolean backButtonEnabled(); @Override void onComplete(String url, DownloadResponse downloadResponse);  }
@Test public void onDestroy_shouldBroadcastInterstitialDismiss() throws Exception { Intent expectedIntent = getIntentForActionAndIdentifier(ACTION_INTERSTITIAL_DISMISS, testBroadcastIdentifier); initializeSubject(); subject.onDestroy(); Robolectric.getUiThreadScheduler().unPause(); verify(broadcastReceiver).onReceive(any(Context.class), eq(expectedIntent)); }