File inputRandom5MBFile = TestFileUtil.createRandomFileInDirectory(tempDir, TOTAL_FILE_SIZE);
File outputCopyOfRandom5MBFile = TestFileUtil.getRandomFilenameInDirectory(tempDir);
FileOutputStream outputCopyOfRandom5MBFileOutputStream = new FileOutputStream(outputCopyOfRandom5MBFile);
Chunker chunker = new FixedChunker(EXACT_CHUNK_SIZE, FixedChunker.DEFAULT_DIGEST_ALG);
// Create chunks
int actualChunkCount = 0;
Enumeration<Chunk> chunkEnumeration = chunker.createChunks(inputRandom5MBFile);
Chunk lastChunk = null;
while (chunkEnumeration.hasMoreElements()) {
actualChunkCount++;
lastChunk = chunkEnumeration.nextElement();