private String createStitchBlob(int blobSize) throws Exception {
    ByteBuffer byteBuffer = ByteBuffer.allocate(blobSize);
    //Divide blob into NUM_STITCHED_CHUNKS chunks to be stitched
    int chunkSize = blobSize / NUM_STITCHED_CHUNKS;
    List<String> stitchBlobsIds = new ArrayList<>();
    chunkInfos = new ArrayList<>();
    int curBlobSize = blobSize;
    for (int i = 0; i < NUM_STITCHED_CHUNKS; i++) {
      //Give each chunk a different size
      int curChunkSize = Math.min(curBlobSize, chunkSize - i * 5);
      if (i == NUM_STITCHED_CHUNKS - 1) {
        curChunkSize = curBlobSize;
      }
      setOperationParams(curChunkSize, options);
      byteBuffer.put(putContent);
      curBlobSize -= curChunkSize;
      stitchBlobsIds.add(
          router.putBlob(putBlobProperties, putUserMetadata, putChannel,
              new PutBlobOptionsBuilder().chunkUpload(true).maxUploadSize(CHUNK_SIZE).build()).get());
      chunkInfos.add(new ChunkInfo(stitchBlobsIds.get(i), curChunkSize, -1L, null));
    }
    setOperationParams(blobSize, null);
    this.options = new GetBlobOptionsBuilder().build();
    putContent = byteBuffer.array();
    return router.stitchBlob(putBlobProperties, putUserMetadata, chunkInfos).get();
  }
Test a get request.
@param blobSize the size of the blob to put/get.
@param options the {@link GetBlobOptions} for the get request.
ambry-router/src/test/java/com/github/ambry/router/GetManagerTest.java