@Test
public void preRenderHtml_shouldHaveAWebViewClientThatForwardsFinishLoad() throws Exception {

    MoPubActivity.preRenderHtml(subject, customEventInterstitialListener, null);
    ArgumentCaptor<WebViewClient> webViewClientCaptor = ArgumentCaptor.forClass(WebViewClient.class);
    verify(htmlInterstitialWebView).setWebViewClient(webViewClientCaptor.capture());
    WebViewClient webViewClient = webViewClientCaptor.getValue();
    webViewClient.shouldOverrideUrlLoading(null, "mopub://finishLoad");
    verify(customEventInterstitialListener).onInterstitialLoaded();
    verify(customEventInterstitialListener, never()).onInterstitialFailed(any(MoPubErrorCode.class));
}