Search in sources :

Example 6 with AdViewManagerListener

use of org.prebid.mobile.rendering.views.AdViewManagerListener in project prebid-mobile-android by prebid.

the class DisplayViewTest method whenAdViewManagerListenerCreativeInterstitialDidClose_NotifyListenerOnAdClosed.

@Test
public void whenAdViewManagerListenerCreativeInterstitialDidClose_NotifyListenerOnAdClosed() throws IllegalAccessException {
    AdViewManagerListener adViewManagerListener = getAdViewManagerListener();
    adViewManagerListener.creativeInterstitialClosed();
    verify(mMockDisplayViewListener).onAdClosed();
}
Also used : AdViewManagerListener(org.prebid.mobile.rendering.views.AdViewManagerListener) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)6 AdViewManagerListener (org.prebid.mobile.rendering.views.AdViewManagerListener)6 View (android.view.View)1 AdException (org.prebid.mobile.rendering.errors.AdException)1 AdDetails (org.prebid.mobile.rendering.models.AdDetails)1