Program: 49103
Project: 49103
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));
  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.setStatus(Status.RUNNING);
  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.SUCCESS);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(task));
  instance1.setStatus("String_Node_Str");
  instance1.setIp("String_Node_Str");
  instance1.setAction(null);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(cluster));
  clusterCommands.createCluster("String_Node_Str","String_Node_Str",null,null,null,null,null,null,false,false,false);
  CookieCache.put("String_Node_Str","String_Node_Str");
}

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));
  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.setStatus(Status.RUNNING);
  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.SUCCESS);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(task));
  instance1.setStatus("String_Node_Str");
  instance1.setIp("String_Node_Str");
  instance1.setAction(null);
  buildReqRespWithoutReqBody("String_Node_Str",HttpMethod.GET,HttpStatus.OK,mapper.writeValueAsString(cluster));
  clusterCommands.createCluster("String_Node_Str","String_Node_Str",null,null,null,null,null,null,false,false,false);
  CookieCache.clear();
}