### Question:
RendererParametersProvider implements RendererParametersOperator { @Override public RendererParameters getRendererParameters() { return new RendererParameters( parametersProvider.getPreviewSize(), orientationManager.getPhotoOrientation() ); } RendererParametersProvider(ParametersProvider parametersProvider,
                                      OrientationManager orientationManager); @Override RendererParameters getRendererParameters();  }### Answer:
@Test public void getParameters() throws Exception { Size size = new Size(1920, 1080); int sensorOrientation = 90; given(parametersProvider.getPreviewSize()) .willReturn(size); given(orientationManager.getPhotoOrientation()) .willReturn(sensorOrientation); RendererParameters rendererParameters = testee.getRendererParameters(); assertEquals( new RendererParameters( size, sensorOrientation ), rendererParameters ); }