@Test
public void testIncrementTimeRange() throws IOException {

  byte[] rowKey = dataHelper.randomData("rk1-");
  Increment incr = new Increment(rowKey);
  incr.setTimeRange(0, 10);
  expectedException.expect(UnsupportedOperationException.class);
  expectedException.expectMessage("Setting the time range in an Increment is not implemented");
  ReadModifyWriteRow readModifyWriteRow =
      ReadModifyWriteRow.create(TABLE_ID, ByteString.copyFrom(rowKey));
  incrementAdapter.adapt(incr, readModifyWriteRow);
}