Program: 32443
Project: 32443
Buggy source:
public void testBuildPutFiles(){
  String testFileName="String_Node_Str";
  Boolean testPFile=true, testSystemFile=true;
  Integer testCorrelationID=0, testOffset=1, testLength=2;
  FileType testFileType=FileType.BINARY;
  byte[] testFileData={(byte)0x00,(byte)0x01,(byte)0x02};
  PutFile testPF;
  testPF=RPCRequestFactory.buildPutFile(testFileName,testFileType,testPFile,testFileData,testCorrelationID);
  assertEquals(Test.MATCH,testFileName,testPF.getSdlFileName());
  assertEquals(Test.MATCH,testFileType,testPF.getFileType());
  assertEquals(Test.MATCH,testPFile,testPF.getPersistentFile());
  assertTrue(Test.TRUE,Validator.validateBulkData(testFileData,testPF.getFileData()));
  assertEquals(Test.MATCH,testCorrelationID,testPF.getCorrelationID());
  testPF=RPCRequestFactory.buildPutFile(null,null,null,null,null);
  assertNull(Test.NULL,testPF.getSdlFileName());
  assertNull(Test.NULL,testPF.getFileType());
  assertNull(Test.NULL,testPF.getPersistentFile());
  assertNull(Test.NULL,testPF.getFileData());
  assertNull(Test.NULL,testPF.getCorrelationID());
  testPF=RPCRequestFactory.buildPutFile(testFileName,testOffset,testLength);
  assertEquals(Test.MATCH,testFileName,testPF.getSdlFileName());
  assertEquals(Test.MATCH,testOffset,testPF.getOffset());
  assertEquals(Test.MATCH,testLength,testPF.getLength());
  testPF=RPCRequestFactory.buildPutFile(null,null,null);
  assertNull(Test.NULL,testPF.getSdlFileName());
  assertNull(Test.NULL,testPF.getOffset());
  assertNull(Test.NULL,testPF.getLength());
  testPF=RPCRequestFactory.buildPutFile(testFileName,testOffset,testLength,testFileType,testPFile,testSystemFile);
  assertEquals(Test.MATCH,testFileName,testPF.getSdlFileName());
  assertEquals(Test.MATCH,testOffset,testPF.getOffset());
  assertEquals(Test.MATCH,testLength,testPF.getLength());
  assertTrue(Test.TRUE,testPF.getPersistentFile());
  assertEquals(Test.MATCH,testSystemFile,testPF.getSystemFile());
  testPF=RPCRequestFactory.buildPutFile(null,null,null,null,null,null);
  assertNull(Test.NULL,testPF.getSdlFileName());
  assertNull(Test.NULL,testPF.getOffset());
  assertNull(Test.NULL,testPF.getLength());
  assertNull(Test.NULL,testPF.getFileType());
  assertNull(Test.NULL,testPF.getPersistentFile());
  assertNull(Test.NULL,testPF.getSystemFile());
}

Fixed version (ground truth):
public void testBuildPutFiles(){
  String testFileName="String_Node_Str";
  Boolean testPFile=true, testSystemFile=true;
  Integer testCorrelationID=0, testOffset=1, testLength=2;
  FileType testFileType=FileType.BINARY;
  byte[] testFileData={(byte)0x00,(byte)0x01,(byte)0x02};
  PutFile testPF;
  testPF=RPCRequestFactory.buildPutFile(testFileName,testFileType,testPFile,testFileData,testCorrelationID);
  assertEquals(Test.MATCH,testFileName,testPF.getSdlFileName());
  assertEquals(Test.MATCH,testFileType,testPF.getFileType());
  assertEquals(Test.MATCH,testPFile,testPF.getPersistentFile());
  assertTrue(Test.TRUE,Validator.validateBulkData(testFileData,testPF.getFileData()));
  assertEquals(Test.MATCH,testCorrelationID,testPF.getCorrelationID());
  testPF=RPCRequestFactory.buildPutFile(null,null,null,null,null);
  assertNull(Test.NULL,testPF.getSdlFileName());
  assertNull(Test.NULL,testPF.getFileType());
  assertNull(Test.NULL,testPF.getPersistentFile());
  assertNull(Test.NULL,testPF.getFileData());
  assertNull(Test.NULL,testPF.getCorrelationID());
  testPF=RPCRequestFactory.buildPutFile(testFileName,testOffset,testLength);
  assertEquals(Test.MATCH,testFileName,testPF.getSdlFileName());
  assertEquals(Test.MATCH,testOffset,testPF.getOffset());
  assertEquals(Test.MATCH,testLength,testPF.getLength());
  testPF=RPCRequestFactory.buildPutFile(NullValues.STRING,NullValues.INTEGER,NullValues.INTEGER);
  assertNull(Test.NULL,testPF.getSdlFileName());
  assertNull(Test.NULL,testPF.getOffset());
  assertNull(Test.NULL,testPF.getLength());
  testPF=RPCRequestFactory.buildPutFile(testFileName,testOffset,testLength,testFileType,testPFile,testSystemFile);
  assertEquals(Test.MATCH,testFileName,testPF.getSdlFileName());
  assertEquals(Test.MATCH,testOffset,testPF.getOffset());
  assertEquals(Test.MATCH,testLength,testPF.getLength());
  assertTrue(Test.TRUE,testPF.getPersistentFile());
  assertEquals(Test.MATCH,testSystemFile,testPF.getSystemFile());
  testPF=RPCRequestFactory.buildPutFile(NullValues.STRING,NullValues.INTEGER,NullValues.INTEGER,null,NullValues.BOOLEAN,NullValues.BOOLEAN);
  assertNull(Test.NULL,testPF.getSdlFileName());
  assertNull(Test.NULL,testPF.getOffset());
  assertNull(Test.NULL,testPF.getLength());
  assertNull(Test.NULL,testPF.getFileType());
  assertNull(Test.NULL,testPF.getPersistentFile());
  assertNull(Test.NULL,testPF.getSystemFile());
}