@Override
      public FileArchiverNotifier get(Connection conn, Configuration conf, FileSystem fs,
        TableName tn) {
        return new FileArchiverNotifier() {
          @Override
          public void addArchivedFiles(Set<Entry<String, Long>> fileSizes) throws IOException {
          }

          @Override
          public long computeAndStoreSnapshotSizes(Collection<String> currentSnapshots)
            throws IOException {
            return tableToSize.get(tn);
          }
        };
      }
Test class for the {@link SnapshotQuotaObserverChore}.
hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestSnapshotQuotaObserverChore.java