@Test public void destroy_shouldPreventOnCustomEventShownNotification() throws Exception { subject.destroy(); subject.onCustomEventInterstitialShown(); verify(interstitialAdListener, never()).onInterstitialShown(eq(subject)); }
@Test public void destroy_shouldPreventOnCustomEventInterstitialFailedNotification() throws Exception { subject.setInterstitialView(interstitialView); subject.destroy(); subject.onCustomEventInterstitialFailed(UNSPECIFIED); verify(interstitialView, never()).loadFailUrl(UNSPECIFIED); }
@Test public void destroy_shouldPreventOnCustomEventInterstitialClickedFromRegisteringClick() throws Exception { subject.setInterstitialView(interstitialView); subject.destroy(); subject.onCustomEventInterstitialClicked(); verify(interstitialView, never()).registerClick(); }