protected void addPartitions(IMetaStoreClient client, List<Partition> partitions)
      throws TException{
    client.add_partitions(partitions);
  }
API tests for HMS client's listPartitions methods.
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestListPartitions.java