@Test
public void handleOpen_withApplicationUrlThatCantBeHandled_shouldDefaultToMoPubBrowser()
        throws Exception {

    String applicationUrl = "canthandleme://blah";
    subject.handleOpen(applicationUrl);
    Intent startedIntent = Robolectric.getShadowApplication().getNextStartedActivity();
    assertThat(startedIntent).isNotNull();
    assertThat(startedIntent.getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK).isNotEqualTo(0);
    assertThat(startedIntent.getComponent().getClassName())
            .isEqualTo("com.mopub.common.MoPubBrowser");
    assertThat(startedIntent.getStringExtra(MoPubBrowser.DESTINATION_URL_KEY))
            .isEqualTo(applicationUrl);
    verify(mockMraidListener).onOpen();
}