public static Configuration getConfiguration() {
    Configuration conf = new Configuration(false);
    conf.set(key, value);
    return conf;
  }
Test Constraint to check to make sure the configuration is set
hbase-server/src/test/java/org/apache/hadoop/hbase/constraint/CheckConfigurationConstraint.java