Program: 48386
Project: 48386
Buggy source:
@Test public void testClusterCreateOutput() throws Exception {
  CookieCache.put("String_Node_Str","String_Node_Str");
  DistroRead[] distros=new DistroRead[1];
  DistroRead distro=new DistroRead();
  distro.setName(Constants.DEFAULT_DISTRO);
  distros[0]=distro;
  NetworkRead[] networks=new NetworkRead[1];
  NetworkRead network=new NetworkRead();
  network.setName("String_Node_Str");
  network.setDhcp(true);
  network.setPortGroup("String_Node_Str");
  networks[0]=network;
  ObjectMapper mapper=new ObjectMapper();
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(distros[0]));
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(networks));
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.POST,HttpStatus.ACCEPTED,"String_Node_Str","String_Node_Str");
  TaskRead task=new TaskRead();
  task.setId(12l);
  task.setType(Type.INNER);
  task.setProgress(0.8);
  task.setProgressMessage("String_Node_Str");
  task.setStatus(Status.STARTED);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(task));
  ClusterRead cluster=new ClusterRead();
  List<NodeGroupRead> nodeGroups=new ArrayList<NodeGroupRead>();
  NodeGroupRead workerGroup=new NodeGroupRead();
  workerGroup.setName("String_Node_Str");
  workerGroup.setInstanceNum(1);
  List<NodeRead> instances=new ArrayList<NodeRead>();
  NodeRead instance1=new NodeRead();
  instance1.setName("String_Node_Str");
  instance1.setStatus("String_Node_Str");
  instance1.setAction("String_Node_Str");
  instances.add(instance1);
  workerGroup.setInstances(instances);
  nodeGroups.add(workerGroup);
  cluster.setNodeGroups(nodeGroups);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(cluster));
  task.setProgress(1.0);
  task.setStatus(Status.COMPLETED);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(task));
  instance1.setStatus("String_Node_Str");
  instance1.setIpConfigs(createIpConfigs("String_Node_Str"));
  instance1.setAction(null);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(cluster));
  clusterCommands.createCluster("String_Node_Str",null,"String_Node_Str",null,null,null,null,null,null,null,null,false,false,true,false,"String_Node_Str",null,null,null);
  CookieCache.clear();
}

Fixed version (ground truth):
@Test public void testClusterCreateOutput() throws Exception {
  CookieCache.put("String_Node_Str","String_Node_Str");
  DistroRead[] distros=new DistroRead[1];
  DistroRead distro=new DistroRead();
  distro.setName(Constants.DEFAULT_DISTRO);
  distros[0]=distro;
  NetworkRead[] networks=new NetworkRead[1];
  NetworkRead network=new NetworkRead();
  network.setName("String_Node_Str");
  network.setDhcp(true);
  network.setPortGroup("String_Node_Str");
  networks[0]=network;
  ObjectMapper mapper=new ObjectMapper();
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(distros[0]));
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(networks));
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.POST,HttpStatus.ACCEPTED,"String_Node_Str");
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(getClusterResponseForCreate()),"String_Node_Str");
  TaskRead task=new TaskRead();
  task.setId(12l);
  task.setType(Type.INNER);
  task.setProgress(0.8);
  task.setProgressMessage("String_Node_Str");
  task.setStatus(Status.STARTED);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(task));
  ClusterRead cluster=new ClusterRead();
  List<NodeGroupRead> nodeGroups=new ArrayList<NodeGroupRead>();
  NodeGroupRead workerGroup=new NodeGroupRead();
  workerGroup.setName("String_Node_Str");
  workerGroup.setInstanceNum(1);
  List<NodeRead> instances=new ArrayList<NodeRead>();
  NodeRead instance1=new NodeRead();
  instance1.setName("String_Node_Str");
  instance1.setStatus("String_Node_Str");
  instance1.setAction("String_Node_Str");
  instances.add(instance1);
  workerGroup.setInstances(instances);
  nodeGroups.add(workerGroup);
  cluster.setNodeGroups(nodeGroups);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(cluster));
  task.setProgress(1.0);
  task.setStatus(Status.COMPLETED);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(task));
  instance1.setStatus("String_Node_Str");
  instance1.setIpConfigs(createIpConfigs("String_Node_Str"));
  instance1.setAction(null);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(cluster));
  clusterCommands.createCluster("String_Node_Str",null,"String_Node_Str",null,null,null,null,null,null,null,null,false,false,true,false,"String_Node_Str",null,null,null);
  CookieCache.clear();
}