@Test public void loadAds_shouldReplenishCache() { subject.loadAds(requestParameters, mockMoPubNative); assertThat(subject.mRequestInFlight).isTrue(); verify(mockMoPubNative).makeRequest(requestParameters, 0); }
void loadAds(@NonNull final Context context, @NonNull final String adUnitId, final RequestParameters requestParameters) { loadAds(requestParameters, new MoPubNative(context, adUnitId, mMoPubNativeNetworkListener)); }
NativeAdSource { void loadAds(@NonNull final Context context, @NonNull final String adUnitId, final RequestParameters requestParameters) { loadAds(requestParameters, new MoPubNative(context, adUnitId, mMoPubNativeNetworkListener)); } }
NativeAdSource { void loadAds(@NonNull final Context context, @NonNull final String adUnitId, final RequestParameters requestParameters) { loadAds(requestParameters, new MoPubNative(context, adUnitId, mMoPubNativeNetworkListener)); } NativeAdSource(); @VisibleForTesting  NativeAdSource(@NonNull final List<TimestampWrapper<NativeResponse>> nativeAdCache,
            @NonNull final Handler replenishCacheHandler); }
NativeAdSource { void loadAds(@NonNull final Context context, @NonNull final String adUnitId, final RequestParameters requestParameters) { loadAds(requestParameters, new MoPubNative(context, adUnitId, mMoPubNativeNetworkListener)); } NativeAdSource(); @VisibleForTesting  NativeAdSource(@NonNull final List<TimestampWrapper<NativeResponse>> nativeAdCache,
            @NonNull final Handler replenishCacheHandler);  }
NativeAdSource { void loadAds(@NonNull final Context context, @NonNull final String adUnitId, final RequestParameters requestParameters) { loadAds(requestParameters, new MoPubNative(context, adUnitId, mMoPubNativeNetworkListener)); } NativeAdSource(); @VisibleForTesting  NativeAdSource(@NonNull final List<TimestampWrapper<NativeResponse>> nativeAdCache,
            @NonNull final Handler replenishCacheHandler);   }