use of org.prebid.mobile.rendering.bidding.listeners.RewardedVideoEventListener in project prebid-mobile-android by prebid.
the class RewardedAdUnitTest method onPrebidSdkWinAndWinnerBidIsNull_AdStatusReadyForLoadNotifyErrorListener.
// endregion ======================= BidRequestListener tests
// region ================= EventListener tests
@Test
public void onPrebidSdkWinAndWinnerBidIsNull_AdStatusReadyForLoadNotifyErrorListener() {
final RewardedVideoEventListener eventListener = getEventListener();
eventListener.onPrebidSdkWin();
verify(mMockRewardedAdUnitListener, times(1)).onAdFailed(eq(mRewardedAdUnit), any(AdException.class));
assertEquals(READY_FOR_LOAD, mRewardedAdUnit.getAdUnitState());
}
Aggregations