@Test
 public void testGetMetaConfUnknownPreperty() throws MetaException, TException {
   String unknownPropertyName = "hive.meta.foo.bar";
   thrown.expect(MetaException.class);
   thrown.expectMessage("Invalid configuration key " + unknownPropertyName);
   hmsc.getMetaConf(unknownPropertyName);
 }
 @Test
 public void testGetMetaConfDefaultEmptyString() throws MetaException, TException {
   HiveConf.ConfVars metaConfVar = HiveConf.ConfVars.METASTORE_PARTITION_NAME_WHITELIST_PATTERN;
   String expected = "";
   String actual = hmsc.getMetaConf(metaConfVar.toString());
   assertEquals(expected, actual);
 }
 @Test
 public void testGetMetaConfOverridden() throws MetaException, TException {
   HiveConf.ConfVars metaConfVar = HiveConf.ConfVars.METASTORE_TRY_DIRECT_SQL_DDL;
   String expected = "false";
   String actual = hmsc.getMetaConf(metaConfVar.toString());
   assertEquals(expected, actual);
 }
 @Test
 public void testGetMetaConfDefault() throws MetaException, TException {
   HiveConf.ConfVars metaConfVar = HiveConf.ConfVars.METASTORE_TRY_DIRECT_SQL;
   String expected = metaConfVar.getDefaultValue();
   String actual = hmsc.getMetaConf(metaConfVar.toString());
   assertEquals(expected, actual);
 }
 @After
 public void closeClient() {
   if (hmsc != null) {
     hmsc.close();
   }
 }