@Test
public void shouldOverrideUrlLoading_withNativeBrowserScheme_withInvalidHostSchemeUrl_withoutUserClick_shouldNotInvokeNativeBrowser() throws Exception {

    stub(htmlWebView.wasClicked()).toReturn(false);
    subject = new HtmlWebViewClient(htmlWebViewListener, htmlWebView, null, null);
    subject.shouldOverrideUrlLoading(htmlWebView, "something://blah?url=invalid");
    assertThat(Robolectric.getShadowApplication().getNextStartedActivity()).isNull();
}