@Test
public void loadHtmlResponse_shouldCallLoadDataWithBaseURL() throws Exception {

    String htmlResponse = "some random html response";
    subject.loadHtmlResponse(htmlResponse);
    ShadowWebView.LoadDataWithBaseURL lastLoadData = shadowOf(subject).getLastLoadDataWithBaseURL();
    assertThat(lastLoadData.baseUrl).isEqualTo("http://ads.mopub.com/");
    assertThat(lastLoadData.data).isEqualTo(htmlResponse);
    assertThat(lastLoadData.mimeType).isEqualTo("text/html");
    assertThat(lastLoadData.encoding).isEqualTo("utf-8");
    assertThat(lastLoadData.historyUrl).isNull();
}