@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)); }
@Override protected void onDestroy() { stopRunnables(); broadcastAction(ACTION_INTERSTITIAL_DISMISS); }
VastVideoViewController extends BaseVideoViewController implements DownloadTask.DownloadTaskListener { @Override protected void onDestroy() { stopRunnables(); broadcastAction(ACTION_INTERSTITIAL_DISMISS); } }
VastVideoViewController extends BaseVideoViewController implements DownloadTask.DownloadTaskListener { @Override protected void onDestroy() { stopRunnables(); broadcastAction(ACTION_INTERSTITIAL_DISMISS); } VastVideoViewController(final Context context,
            final Bundle bundle,
            final long broadcastIdentifier,
            final BaseVideoViewControllerListener baseVideoViewControllerListener); }
VastVideoViewController extends BaseVideoViewController implements DownloadTask.DownloadTaskListener { @Override protected void onDestroy() { stopRunnables(); 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); }
VastVideoViewController extends BaseVideoViewController implements DownloadTask.DownloadTaskListener { @Override protected void onDestroy() { stopRunnables(); 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);  }