@Test
public void preRenderHtml_shouldHaveAWebViewClientThatForwardsFailLoad() 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://failLoad");
    verify(customEventInterstitialListener, never()).onInterstitialLoaded();
    verify(customEventInterstitialListener).onInterstitialFailed(any(MoPubErrorCode.class));
}