public static void setGetPartitionBehaviour(com.google.common.base.Function<Partition, Partition> modifier){
    getPartitionModifier = (modifier == null) ? com.google.common.base.Functions.identity() : modifier;
  }
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