@Test
  public void test94FilterRowCompatibility() throws Exception {
    Scan s = new Scan();
    OldTestFilter filter = new OldTestFilter();
    s.setFilter(filter);

    InternalScanner scanner = this.region.getScanner(s);
    ArrayList<Cell> values = new ArrayList<>();
    scanner.next(values);
    assertTrue("All rows should be filtered out", values.isEmpty());
  }
The following test is to ensure old(such as hbase0.94) filterRow() can be correctly fired in
0.96+ code base. See HBASE-10366
hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilter.java