MraidVideoPlayerActivity extends BaseVideoPlayerActivity implements BaseVideoViewController.BaseVideoViewControllerListener { @Override public void onSetContentView(final View view) { setContentView(view); }  @Override void onBackPressed(); @Override void onSetContentView(final View view); @Override void onSetRequestedOrientation(final int requestedOrientation); @Override void onFinish(); @Override void onStartActivityForResult(final Class<? extends Activity> clazz,
            final int requestCode,
            final Bundle extras);  }
@Test public void onSetContentView_shouldActuallySetContentView() throws Exception { initializeSubjectWithMockViewController(); final View expectedView = new ImageView(context); subject.onSetContentView(expectedView); assertThat(shadowOf(subject).getContentView()).isEqualTo(expectedView); }