@Override
    public List<String> getAllTableNames(String dbName) {
        return client.getAllTableNames(dbName);
    }
@Test
    public void testGetAllTableNames() {
        HiveMetaClient client = new MockedHiveMetaClient();
        HiveMetastore metastore = new HiveMetastore(client, "xxx", MetastoreType.HMS);
        List<String> databaseNames = metastore.getAllTableNames("xxx");
        Assert.assertEquals(Lists.newArrayList("table1", "table2"), databaseNames);
    }