@Override
    void maybeResumeCompaction(byte[] bundleReadBuffer) {
      if (resumeCompactionCalled) {
        callOrderException = new Exception("maybeResumeCompaction() called more than once");
      }
      resumeCompactionCalled = true;
      if (exceptionToThrowOnResume != null) {
        throw exceptionToThrowOnResume;
      }
    }
MockBlobStore to assist in testing {@link CompactionManager}
ambry-store/src/test/java/com/github/ambry/store/CompactionManagerTest.java