### Question:
Camera2 implements CameraDevice { @Override public void measureExposure() { recordMethod(); exposureMeasurementOperator.measureExposure(); } Camera2(Logger logger,
                   ConnectionOperator connectionOperator,
                   PreviewOperator previewOperator,
                   SurfaceOperator surfaceOperator,
                   OrientationOperator orientationOperator,
                   ParametersOperator parametersOperator,
                   CapabilitiesOperator capabilitiesOperator,
                   PreviewStream previewStream,
                   RendererParametersOperator rendererParametersOperator,
                   AutoFocusOperator autoFocusOperator,
                   ExposureMeasurementOperator exposureMeasurementOperator,
                   CaptureOperator captureOperator,
                   AvailableLensPositionsProvider availableLensPositionsProvider); @Override void open(LensPosition lensPosition); @Override void close(); @Override void startPreview(); @Override void stopPreview(); @Override void setDisplaySurface(Object displaySurface); @Override void setDisplayOrientation(int degrees); @Override void updateParameters(Parameters parameters); @Override Capabilities getCapabilities(); @Override Parameters getCurrentParameters(); @Override FocusResult autoFocus(); @Override void measureExposure(); @Override Photo takePicture(); @Override PreviewStream getPreviewStream(); @Override RendererParameters getRendererParameters(); @Override List<LensPosition> getAvailableLensPositions(); @Override void setZoom(@FloatRange(from = 0f, to = 1f) float level);  }### Answer:
@Test public void measureExposure() throws Exception { testee.measureExposure(); verify(logger).log(anyString()); verify(exposureMeasurementOperator).measureExposure(); }