@Override
  public Map<String, Map<String, String>> updatePartitionColumnStatisticsInBatch(
          Map<String, ColumnStatistics> partColStatsMap,
          Table tbl, List<TransactionalMetaStoreEventListener> listeners,
          String validWriteIds, long writeId)
          throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException {
    if (updatePartColStatsModifier != null) {
      Boolean success = updatePartColStatsModifier.apply(tbl);
      if ((success != null) && !success) {
        throw new MetaException("InjectableBehaviourObjectStore: Invalid updatePartitionColumnStatisticsInBatch  : "
          + "operation on Catalog : " + tbl.getCatName() + " DB: " + tbl.getDbName() + " table: " + tbl.getTableName());
      }
    }
    return super.updatePartitionColumnStatisticsInBatch(partColStatsMap, tbl, listeners, validWriteIds, writeId);
  }
A utility class to pass the arguments of the caller to the stub method.
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/InjectableBehaviourObjectStore.java