### Question:
ParametersProvider implements ParametersOperator { public Flash getFlash() { return getSelectedParameters().getValue(FLASH); }  @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 getFlash() throws Exception { given(parameters.getValue(Parameters.Type.FLASH)) .willReturn(Flash.OFF); testee.updateParameters(parameters); Flash flash = testee.getFlash(); assertEquals(Flash.OFF, flash); }