@Test
public void testListExperiment() {

  Experiment experiment2 = new Experiment();
  experiment2.rebuild(actualExperiment);
  String experiment2Uid = "0b617cea-81fa-40b6-bbff-da3e400d2be5";
  experiment2.setUid(experiment2Uid);
  experiment2.setExperimentId(experimentId);
  List<Experiment> experimentList = new ArrayList<>();
  experimentList.add(actualExperiment);
  experimentList.add(experiment2);
  when(mockExperimentManager.listExperimentsByStatus(any(String.class))).thenReturn(experimentList);
  Response listExperimentResponse = experimentRestApi.listExperiments(Response.Status.OK.toString());
  List<Experiment> result = getResultListFromResponse(listExperimentResponse, Experiment.class);
  verifyResult(result.get(0), experimentUid);
  verifyResult(result.get(1), experiment2Uid);
}