private void assertTtl(long expectedTtlSecs) throws Exception {
    GetBlobResult result = router.getBlob(blobId, new GetBlobOptionsBuilder().build(), null,
        QuotaTestUtils.createTestQuotaChargeCallback(QuotaMethod.WRITE)).get(1, TimeUnit.SECONDS);
    assertEquals("TTL not as expected", expectedTtlSecs,
        result.getBlobInfo().getBlobProperties().getTimeToLiveInSeconds());
  }
Verifies that the TTL is {@code expectedTtlSecs}
@param expectedTtlSecs the expected TTL (in secs) of the blob
@throws Exception
ambry-frontend/src/test/java/com/github/ambry/frontend/TtlUpdateHandlerTest.java