@Test
public void shouldOverrideUrlLoading_withMoPubCustom_withoutUserClick_shouldNotStartActivity() throws Exception {

    stub(htmlWebView.wasClicked()).toReturn(false);
    boolean didOverrideUrl = subject.shouldOverrideUrlLoading(htmlWebView, "mopub://custom?fnc=myFnc&data=myData");
    assertThat(didOverrideUrl).isTrue();
    verify(htmlWebViewListener, never()).onClicked();
    Intent startedActivity = Robolectric.getShadowApplication().getNextStartedActivity();
    assertThat(startedActivity).isNull();
}