PlayerController { void setUpMediaControl(boolean looping, boolean showVideoControls) { if (looping && !showVideoControls) { setUpLoopControl(); } else { setUpMediaControl(); } } PlayerController(View rootView, SwipeToDismissTouchListener.Callback callback);   PlayerController(View rootView, VideoView videoView, VideoControlView videoControlView,
            ProgressBar videoProgressView, TextView callToActionView,
            SwipeToDismissTouchListener.Callback callback);   }
@Test public void testSetUpMediaControl_withLoopingAndControls() { subject.setUpMediaControl(true, true); verify(subject).setUpMediaControl(); }
@Test public void testSetUpMediaControl_withOutLooping() { doNothing().when(subject).setUpMediaControl(); subject.setUpMediaControl(false, true); verify(subject).setUpMediaControl(); }