@Test
public void handleOpen_withApplicationUrl_shouldStartNewIntent() {

    String applicationUrl = "amzn://blah";
    Robolectric.packageManager.addResolveInfoForIntent(new Intent(Intent.ACTION_VIEW, Uri
            .parse(applicationUrl)), new ResolveInfo());
    subject.handleOpen(applicationUrl);
    Intent startedIntent = Robolectric.getShadowApplication().getNextStartedActivity();
    assertThat(startedIntent).isNotNull();
    assertThat(startedIntent.getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK).isNotEqualTo(0);
    assertThat(startedIntent.getComponent()).isNull();
    verify(mockMraidListener).onOpen();
}