@Override
    public List<String> getAllDatabaseNames() {
        return client.getAllDatabaseNames();
    }
@Test
    public void testGetAllDatabaseNames() {
        HiveMetaClient client = new MockedHiveMetaClient();
        HiveMetastore metastore = new HiveMetastore(client, "xxx", MetastoreType.HMS);
        List<String> databaseNames = metastore.getAllDatabaseNames();
        Assert.assertEquals(Lists.newArrayList("db1", "db2"), databaseNames);
    }