private void checkRetainsBooleanValue(JobContext jobContext, RoundRobinTableInputFormat rrtif,
    final boolean b) {
    jobContext.getConfiguration()
      .setBoolean(RoundRobinTableInputFormat.HBASE_REGIONSIZECALCULATOR_ENABLE, b);
    rrtif.configure();
    rrtif.unconfigure();
    String value = jobContext.getConfiguration()
      .get(RoundRobinTableInputFormat.HBASE_REGIONSIZECALCULATOR_ENABLE);
    assertEquals(b, Boolean.valueOf(value));
  }
Test that configure/unconfigure set and properly undo the HBASE_REGIONSIZECALCULATOR_ENABLE
configuration.
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/TestRoundRobinTableInputFormat.java