code: public static void assertDeleteCount(long expectedDeleteCount) {
          QueryCount queryCount = QueryCountHolder.getGrandTotal();
          long recordedDeleteCount = queryCount.getDelete();
          if (expectedDeleteCount != recordedDeleteCount) {
              throw new SQLDeleteCountMismatchException(expectedDeleteCount, recordedDeleteCount);
          }
      }
docs: Assert delete statement count
  
  @param expectedDeleteCount expected delete statement count