@Test
public void shouldOverrideUrlLoading_withNativeBrowserScheme_butOpaqueUri_withoutUserClick_shouldNotLoad() throws Exception {

    stub(htmlWebView.wasClicked()).toReturn(false);
    String opaqueNativeBrowserUriString = "mopubnativebrowser:navigate?url=http://mopub.com";
    subject = new HtmlWebViewClient(htmlWebViewListener, htmlWebView, null, null);
    subject.shouldOverrideUrlLoading(htmlWebView, opaqueNativeBrowserUriString);
    assertThat(Robolectric.getShadowApplication().getNextStartedActivity()).isNull();
}