private int getRegionReportsForTable(Map<RegionInfo, Long> reports, TableName tn) {
    int numReports = 0;
    for (Entry<RegionInfo, Long> entry : reports.entrySet()) {
      if (tn.equals(entry.getKey().getTable())) {
        numReports++;
      }
    }
    return numReports;
  }
A test case to verify that region reports are expired when they are not sent.
hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaObserverChoreRegionReports.java