static void assertTtl(Router router, Collection<String> blobIds, long expectedTtlSecs) throws Exception {
    GetBlobOptions options[] = {new GetBlobOptionsBuilder().build(),
        new GetBlobOptionsBuilder().operationType(GetBlobOptions.OperationType.BlobInfo).build()};
    for (String blobId : blobIds) {
      for (GetBlobOptions option : options) {
        GetBlobResult result = router.getBlob(blobId, option).get(AWAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS);
        Assert.assertEquals("TTL not as expected", expectedTtlSecs,
            result.getBlobInfo().getBlobProperties().getTimeToLiveInSeconds());
        if (result.getBlobDataChannel() != null) {
          result.getBlobDataChannel().close();
        }
      }
    }
  }
Asserts that {@code blobId} has ttl {@code expectedTtl} (also doubles up as checking of GetBlobInfoOp and
GetBlobOp).
@param router the {@link Router} to use
@param blobIds the blob ids to query
@param expectedTtlSecs the expected ttl in seconds
@throws Exception
ambry-router/src/test/java/com/github/ambry/router/RouterTestHelpers.java