public HStore createStoreMock(int priority, String name) throws Exception {
      // Override the mock to always return the specified priority.
      HStore s = super.createStoreMock(name);
      when(s.getCompactPriority()).thenReturn(priority);
      return s;
    }
HBASE-7947: Regression test to ensure adding to the correct list in the {@link CompactSplit}
@throws Exception on failure
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCompaction.java