sut = new UploadReportAction(queue, computationService, analysisTaskLauncher);
}
@Test
public void verify_that_computation_service_is_called() throws Exception {
Response response = mock(Response.class);
Request request = mock(Request.class);
when(request.mandatoryParam(UploadReportAction.PARAM_PROJECT_KEY)).thenReturn(DEFAULT_PROJECT_KEY);
when(request.mandatoryParam(UploadReportAction.PARAM_SNAPSHOT)).thenReturn("123");
sut.handle(request, response);