@Override
    public boolean equals(Object obj) {
      if (obj == null || !(obj instanceof MockFilter)) {
        return false;
      }
      if (obj == this) {
        return true;
      }
      MockFilter f = (MockFilter) obj;
      return this.targetRetCode.equals(f.targetRetCode);
    }
Tests the behavior of transform() in a hierarchical filter. transform() only applies after a
filterCell() whose return-code includes the KeyValue. Lazy evaluation of AND
hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterList.java