@Test
public void shouldOverrideUrlLoading_withNativeBrowserScheme_withInvalidHostSchemeUrl_withUserClick_shouldNotInvokeNativeBrowser() throws Exception {

    stub(htmlWebView.wasClicked()).toReturn(true);
    subject = new HtmlWebViewClient(htmlWebViewListener, htmlWebView, null, null);
    subject.shouldOverrideUrlLoading(htmlWebView, "something://blah?url=invalid");
    Intent startedActivity = assertActivityStarted();
    assertThat(startedActivity.getAction()).isNotEqualTo("android.intent.action.VIEW");
    verify(htmlWebViewListener).onClicked();
}