@Test
public void getAdConfiguration_shouldReturnAdConfigurationFromIntent() throws Exception {

    Context context = Robolectric.buildActivity(Activity.class).create().get();
    Intent intent = new Intent(context, TestInterstitialActivity.class);
    intent.putExtra(AD_CONFIGURATION_KEY, adConfiguration);
    subject = Robolectric.buildActivity(TestInterstitialActivity.class)
            .withIntent(intent)
            .create().get();
    assertThat(subject.getAdConfiguration()).isNotNull();
}