@Before
  public void setUp() throws Exception {
    Configuration conf = TEST_UTIL.getConfiguration();
    // Increase the frequency of some of the chores for responsiveness of the test
    SpaceQuotaHelperForTests.updateConfigForQuotas(conf);
    cluster = TEST_UTIL.startMiniCluster(2);
  }
Test class which verifies that region sizes are reported to the master.
hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestRegionSizeUse.java