@Override
    public void check(Put p) {
      wasRun = true;
    }
Constraint to check that it was actually run (or not)
hbase-server/src/test/java/org/apache/hadoop/hbase/constraint/TestConstraint.java