MraidVideoPlayerActivity extends BaseVideoPlayerActivity implements BaseVideoViewController.BaseVideoViewControllerListener { @Override public void onSetRequestedOrientation(final int requestedOrientation) { setRequestedOrientation(requestedOrientation); }  @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 onSetRequestedOrientation_shouldActuallySetRequestedOrientation() throws Exception { initializeSubjectWithMockViewController(); subject.onSetRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR); assertThat(subject.getRequestedOrientation()).isEqualTo(ActivityInfo.SCREEN_ORIENTATION_SENSOR); }