@Test
  public void testRangeOption() {
    long startOffset = 1;
    long endOffset = 2;
    ByteRange range = ByteRanges.fromOffsetRange(startOffset, endOffset);
    GetBlobOptions options = new GetBlobOptionsBuilder().operationType(GetBlobOptions.OperationType.All)
        .range(ByteRanges.fromOffsetRange(startOffset, endOffset))
        .build();
    assertEquals("Range from options not as expected.", range, options.getRange());
  }
Test that the range option can be assigned and retrieved correctly.
ambry-api/src/test/java/com/github/ambry/router/GetBlobOptionsTest.java