Program: 44232
Project: 44232
Buggy source:
public void testGetHistoric(){
  String playback_id="String_Node_Str";
  String definition_id="String_Node_Str";
  String name="String_Node_Str";
  long start=1329217703L;
  long end=1329221303L;
  long created_at=1334790000L;
  String status="String_Node_Str";
  int progress=45;
  int sample=42;
  String feed1="String_Node_Str";
  String feed2="String_Node_Str";
  String volume_info_type1="String_Node_Str";
  int volume_info_num1=123;
  String volume_info_type2="String_Node_Str";
  int volume_info_num2=456;
  api_client.setResponse("String_Node_Str" + playback_id + "String_Node_Str"+ definition_id+ "String_Node_Str"+ name+ "String_Node_Str"+ "String_Node_Str"+ String.valueOf(start)+ "String_Node_Str"+ String.valueOf(end)+ "String_Node_Str"+ String.valueOf(created_at)+ "String_Node_Str"+ "String_Node_Str"+ status+ "String_Node_Str"+ String.valueOf(progress)+ "String_Node_Str"+ feed1+ "String_Node_Str"+ feed2+ "String_Node_Str"+ "String_Node_Str"+ String.valueOf(sample)+ "String_Node_Str"+ volume_info_type1+ "String_Node_Str"+ String.valueOf(volume_info_num1)+ "String_Node_Str"+ "String_Node_Str"+ volume_info_type2+ "String_Node_Str"+ String.valueOf(volume_info_num2)+ "String_Node_Str",200);
  try {
    Historic h=user.getHistoric(DataForTests.historic_playback_id);
    assertEquals("String_Node_Str",playback_id,h.getHash());
    assertEquals("String_Node_Str",definition_id,h.getStreamHash());
    assertEquals("String_Node_Str",name,h.getName());
    assertEquals("String_Node_Str",start,h.getStartDate().getTime() / 1000);
    assertEquals("String_Node_Str",end,h.getEndDate().getTime() / 1000);
    assertEquals("String_Node_Str",status,h.getStatus());
    assertEquals("String_Node_Str",progress,h.getProgress());
    assertEquals("String_Node_Str",sample,h.getSample());
    ArrayList<String> feeds=h.getFeeds();
    assertEquals("String_Node_Str",2,feeds.size());
    assertTrue("String_Node_Str",feeds.contains(feed1));
    assertTrue("String_Node_Str",feeds.contains(feed2));
    HashMap<String,Integer> volume_info=h.getVolumeInfo();
    assertEquals("String_Node_Str",2,volume_info.size());
    assertTrue("String_Node_Str",volume_info.containsKey(volume_info_type1));
    assertTrue("String_Node_Str",volume_info.containsKey(volume_info_type2));
    assertEquals("String_Node_Str",volume_info_num1,volume_info.get(volume_info_type1).intValue());
    assertEquals("String_Node_Str",volume_info_num2,volume_info.get(volume_info_type2).intValue());
  }
 catch (  EInvalidData e) {
    fail("String_Node_Str" + e.getMessage());
  }
catch (  EAccessDenied e) {
    fail("String_Node_Str" + e.getMessage());
  }
catch (  EAPIError e) {
    fail("String_Node_Str" + e.getMessage());
  }
}

Fixed version (ground truth):
public void testGetHistoric(){
  String playback_id="String_Node_Str";
  String definition_id="String_Node_Str";
  String name="String_Node_Str";
  long start=1329217703L;
  long end=1329221303L;
  long created_at=1334790000L;
  String status="String_Node_Str";
  int progress=45;
  int sample=42;
  String source1="String_Node_Str";
  String source2="String_Node_Str";
  String volume_info_type1="String_Node_Str";
  int volume_info_num1=123;
  String volume_info_type2="String_Node_Str";
  int volume_info_num2=456;
  api_client.setResponse("String_Node_Str" + playback_id + "String_Node_Str"+ definition_id+ "String_Node_Str"+ name+ "String_Node_Str"+ "String_Node_Str"+ String.valueOf(start)+ "String_Node_Str"+ String.valueOf(end)+ "String_Node_Str"+ String.valueOf(created_at)+ "String_Node_Str"+ "String_Node_Str"+ status+ "String_Node_Str"+ String.valueOf(progress)+ "String_Node_Str"+ source1+ "String_Node_Str"+ source2+ "String_Node_Str"+ "String_Node_Str"+ String.valueOf(sample)+ "String_Node_Str"+ volume_info_type1+ "String_Node_Str"+ String.valueOf(volume_info_num1)+ "String_Node_Str"+ "String_Node_Str"+ volume_info_type2+ "String_Node_Str"+ String.valueOf(volume_info_num2)+ "String_Node_Str",200);
  try {
    Historic h=user.getHistoric(DataForTests.historic_playback_id);
    assertEquals("String_Node_Str",playback_id,h.getHash());
    assertEquals("String_Node_Str",definition_id,h.getStreamHash());
    assertEquals("String_Node_Str",name,h.getName());
    assertEquals("String_Node_Str",start,h.getStartDate().getTime() / 1000);
    assertEquals("String_Node_Str",end,h.getEndDate().getTime() / 1000);
    assertEquals("String_Node_Str",status,h.getStatus());
    assertEquals("String_Node_Str",progress,h.getProgress());
    assertEquals("String_Node_Str",sample,h.getSample());
    ArrayList<String> sources=h.getSources();
    assertEquals("String_Node_Str",2,sources.size());
    assertTrue("String_Node_Str",sources.contains(source1));
    assertTrue("String_Node_Str",sources.contains(source2));
    HashMap<String,Integer> volume_info=h.getVolumeInfo();
    assertEquals("String_Node_Str",2,volume_info.size());
    assertTrue("String_Node_Str",volume_info.containsKey(volume_info_type1));
    assertTrue("String_Node_Str",volume_info.containsKey(volume_info_type2));
    assertEquals("String_Node_Str",volume_info_num1,volume_info.get(volume_info_type1).intValue());
    assertEquals("String_Node_Str",volume_info_num2,volume_info.get(volume_info_type2).intValue());
  }
 catch (  EInvalidData e) {
    fail("String_Node_Str" + e.getMessage());
  }
catch (  EAccessDenied e) {
    fail("String_Node_Str" + e.getMessage());
  }
catch (  EAPIError e) {
    fail("String_Node_Str" + e.getMessage());
  }
}