@Test
  public void testGetPartitionNames() throws HiveException {
    hive.getPartitionNames(DB_NAME, TABLE_NAME, null, (short) -1);
  }
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