@Test
  public void testGetPartitionsByNamesWithMultipleUnequalSizeBatches()
      throws HiveException {
    List<String> names =
        Arrays.asList("Greece", "Italy", "France", "Spain", "Hungary");
    hive.getPartitionsByNames(t, names, true);
  }
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