@Test
  public void testGetBlobChunkIdsForCompositeBlob() throws Exception {
    try {
      MockServerLayout layout = new MockServerLayout(mockClusterMap);
      setRouter(getNonBlockingRouterProperties(localDcName), layout, new LoggingNotificationSystem());
      int numberOfChunks = 4;
      setOperationParams(numberOfChunks * PUT_CONTENT_SIZE, TTL_SECS);
      String blobId =
          router.putBlob(putBlobProperties, putUserMetadata, putChannel, new PutBlobOptionsBuilder().build())
              .get(AWAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS);
      GetBlobResult result = router.getBlob(blobId,
              new GetBlobOptionsBuilder().operationType(GetBlobOptions.OperationType.BlobChunkIds).build())
          .get(AWAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS);
      assertEquals("Number of blob chunk Ids mismatch", numberOfChunks, result.getBlobChunkIds().size());
    } finally {
      router.close();
    }
  }
Test get blob chunk Ids for composite blob.
@throws Exception
ambry-router/src/test/java/com/github/ambry/router/NonBlockingRouterTest.java