public WrappedFileRange createFileRange(final long offset, final int length, final Object reference) {

    checkAvailable();
    return new WrappedFileRange(createFileRange.invoke(null, offset, length, reference));
  }
@Test
  public void testCreateFileRange() {
    Object reference = "backref";
    FileRangeBridge.WrappedFileRange range = FileRangeBridge.instance().createFileRange(512L, 16384, reference);
    LOG.info("created range {}", range);
    assertNotNull("null range", range);
    assertNotNull("null range instance", range.getFileRange());
    assertEquals("offset of " + range, 512L, range.getOffset());
    assertEquals("length of " + range, 16384, range.getLength());
    assertSame("backref of " + range, reference, range.getReference());

    // this isn't set until readVectored() is called
    assertNull("non-null range future", range.getData());
  }