File file = File.createTempFile("test", "");
final FileOutputStream outputStream = new FileOutputStream(file);
outputStream.write(new byte[] { 0x65 });
UUID transferId = UUID.randomUUID();
BlobTransferTarget transferTarget = mock(BlobTransferTarget.class);
TransportService transportService = mock(TransportService.class);
DiscoveryNode discoveryNode = mock(DiscoveryNode.class);
PutHeadChunkRunnable runnable = new PutHeadChunkRunnable(
file, 5, transportService, transferTarget, discoveryNode, transferId