private void verifyInvalidCompactionScenario(StripeStoreFileManager manager,
    ArrayList<HStoreFile> filesToCompact, ArrayList<HStoreFile> filesToInsert) throws Exception {
    Collection<HStoreFile> allFiles = manager.getStoreFiles();
    assertThrows(IllegalStateException.class,
      () -> manager.addCompactionResults(filesToCompact, filesToInsert));
    verifyAllFiles(manager, allFiles); // must have the same files.
  }
Verifies scenario for finding a split point.
@param splitPointAfter    Stripe to expect the split point at/after.
@param shouldSplitStripe  If true, the split point is expected in the middle of the above
                          stripe; if false, should be at the end.
@param splitRatioToVerify Maximum split imbalance ratio.
@param sizes              Stripe sizes.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStripeStoreFileManager.java