### Question:
ParametersProvider implements ParametersOperator { public FocusMode getFocus() { return getSelectedParameters().getValue(FOCUS_MODE); }  @Override void updateParameters(Parameters selectedParameters); Flash getFlash(); FocusMode getFocus(); Size getStillCaptureSize(); Size getPreviewSize(); float getStillCaptureAspectRatio(); Range<Integer> getPreviewFpsRange(); Integer getSensorSensitivity(); Integer getJpegQuality();  }### Answer:
@Test public void getFocus() throws Exception { given(parameters.getValue(Parameters.Type.FOCUS_MODE)) .willReturn(FocusMode.CONTINUOUS_FOCUS); testee.updateParameters(parameters); FocusMode focusMode = testee.getFocus(); assertEquals(FocusMode.CONTINUOUS_FOCUS, focusMode); }