@Test
  public void dismissingCustomEventInterstitial_shouldNotBecomeReadyToShowCustomEventAd()
      throws Exception {
    subject.onCustomEventInterstitialLoaded();
    subject.onCustomEventInterstitialDismissed();

    assertShowsCustomEventInterstitial(false);
  }
 @Test
 public void
     onCustomEventInterstitialDismissed_whenInterstitialAdListenerIsNull_shouldNotNotifyListener()
         throws Exception {
   subject.setInterstitialAdListener(null);
   subject.onCustomEventInterstitialDismissed();
   verify(interstitialAdListener, never()).onInterstitialDismissed(eq(subject));
 }
  @Test
  public void destroy_shouldPreventOnCustomEventInterstitialDismissedNotification()
      throws Exception {
    subject.destroy();

    subject.onCustomEventInterstitialDismissed();

    verify(interstitialAdListener, never()).onInterstitialDismissed(eq(subject));
  }
  @Test
  public void onCustomEventInterstitialDismissed_shouldNotifyListener() throws Exception {
    subject.onCustomEventInterstitialDismissed();

    verify(interstitialAdListener).onInterstitialDismissed(eq(subject));
  }