@Test
public void shouldOverrideUrlLoading_withMoPubClose_shouldCallAdDidClose() throws Exception {

    boolean didOverrideUrl = subject.shouldOverrideUrlLoading(htmlWebView, "mopub://close");
    assertThat(didOverrideUrl).isTrue();
    verify(htmlWebViewListener).onCollapsed();
}