private void verifyAfterTtl(HRegion region, long ts) throws IOException {
    Get get;
    Result result;
    // check that after compaction (which is after TTL) that only T1 && T2 were purged
    get = new Get(T1);
    get.readAllVersions();
    get.setTimeRange(0, ts);
    result = region.get(get);
    checkResult(result, c0, T4, T3);

    get = new Get(T1);
    get.readAllVersions();
    get.setTimeRange(0, ts - 1);
    result = region.get(get);
    checkResult(result, c0, T3);

    get = new Get(T1);
    get.readAllVersions();
    get.setTimestamp(ts - 2);
    result = region.get(get);
    checkResult(result, c0, T3);

    get = new Get(T1);
    get.readAllVersions();
    get.setTimestamp(ts - 3);
    result = region.get(get);
    Assert.assertEquals(result.getColumnCells(c0, c0).size(), 0);

    get = new Get(T1);
    get.readAllVersions();
    get.setTimeRange(0, ts - 2);
    result = region.get(get);
    Assert.assertEquals(result.getColumnCells(c0, c0).size(), 0);
  }
Verify that basic filters still behave correctly with minimum versions enabled.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMinVersions.java