@DataProvider public Object[][] badExperimentsDELETE(){
  Experiment experiment=new Experiment();
  return new Object[][]{new Object[]{new Experiment(experiment.setId("ca9c56b0-f219-40da-98fa-d01d27c97ae5")),"Experiment \"ca9c56b0-f219-40da-98fa-d01d27c97ae5\" not found",HttpStatus.SC_NOT_FOUND},new Object[]{new Experiment(experiment.setId("foobar")),"com.intuit.wasabi.experimentobjects.exceptions.InvalidIdentifierException: Invalid experiment identifier \"foobar\"",HttpStatus.SC_INTERNAL_SERVER_ERROR},new Object[]{new Experiment(experiment.setId("")),"The server was unable to process the request",HttpStatus.SC_INTERNAL_SERVER_ERROR}};
}

@ DataProvider public Object [ ] [ ] badExperimentsDELETE ( ) { Experiment experiment = new Experiment ( ) ; return new Object [ ] [ ] { new Object [ ] { new Experiment ( experiment . setId ( "ca9c56b0-f219-40da-98fa-d01d27c97ae5" ) ) , "Experiment \"ca9c56b0-f219-40da-98fa-d01d27c97ae5\" not found" , HttpStatus . SC_NOT_FOUND } , new Object [ ] { new Experiment ( experiment . setId ( "foobar" ) ) , "com.intuit.wasabi.experimentobjects.exceptions.InvalidIdentifierException: Invalid experiment identifier \"foobar\"" , HttpStatus . SC_INTERNAL_SERVER_ERROR } , new Object [ ] { new Experiment ( experiment . setId ( "" ) ) , "The server was unable to process the request" , HttpStatus . SC_INTERNAL_SERVER_ERROR } } ; }
returns mal - formatted or incomplete experiments and their error messages for delete requests .
