### Question:
UpdateOrientationRoutine implements OrientationSensor.Listener { public void stop() { orientationSensor.stop(); } UpdateOrientationRoutine(CameraDevice cameraDevice,
                                    OrientationSensor orientationSensor,
                                    Executor cameraExecutor,
                                    Logger logger); void start(); void stop(); @Override void onOrientationChanged(final int degrees);  }### Answer:
@Test public void stop() throws Exception { testee.stop(); verify(orientationSensor).stop(); verifyZeroInteractions(logger); }