@Test
public void onStartActivityForResult_shouldStartAnActivityWithRelevantRequestCodeAndExtras() throws Exception {

    initializeSubjectWithMockViewController();
    final Bundle expectedExtras = new Bundle();
    expectedExtras.putString("hello", "goodbye");
    subject.onStartActivityForResult(MoPubBrowser.class, 100, expectedExtras);
    final ShadowActivity.IntentForResult intentForResult = shadowOf(subject).getNextStartedActivityForResult();
    assertThat(intentForResult.intent.getComponent().getClassName()).isEqualTo("com.mopub.common.MoPubBrowser");
    assertThat(intentForResult.intent.getExtras()).isEqualTo(expectedExtras);
    assertThat(intentForResult.requestCode).isEqualTo(100);
}