@Test
  public void testGetPartitions() throws HiveException {
    hive.getPartitions(t);
  }
TestHiveMetaStoreClientApiArgumentsChecker

This class works with {@link TestHiveMetaStoreClient} in order to verify the arguments that
are sent from HS2 to HMS APIs.
ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHiveMetaStoreClientApiArgumentsChecker.java