@After
  public void cleanup() throws Exception {
    // cleanup
    CheckWasRunConstraint.wasRun = false;
    util.getAdmin().disableTable(tableName);
    util.getAdmin().deleteTable(tableName);
  }
Check to make sure a constraint is unloaded when it fails
hbase-server/src/test/java/org/apache/hadoop/hbase/constraint/TestConstraint.java