### Question:
MetadataManager { public List<TableDesc> listAllTables() { return Lists.newArrayList(srcTableMap.values()); } private  MetadataManager(KylinConfig config); static MetadataManager getInstance(KylinConfig config); static void clearCache(); void reload(); KylinConfig getConfig(); ResourceStore getStore(); List<TableDesc> listAllTables(); Map<String, TableDesc> getAllTablesMap(); Map<String, Map<String, String>> listAllTableExdMap(); TableDesc getTableDesc(String tableName); Map<String, String> getTableDescExd(String tableName); void saveSourceTable(TableDesc srcTable); void reloadSourceTableExt(String tableIdentity); void reloadSourceTable(String tableIdentity); void reloadTableCache(String tableIdentity); DataModelDesc getDataModelDesc(String name); DataModelDesc reloadDataModelDesc(String name); DataModelDesc createDataModelDesc(DataModelDesc dataModelDesc); DataModelDesc updateDataModelDesc(DataModelDesc desc); void saveTableExd(String tableId, Map<String, String> tableExdProperties); String appendDBName(String table); static final Serializer<TableDesc> TABLE_SERIALIZER; static final Serializer<DataModelDesc> MODELDESC_SERIALIZER; }### Answer:
@Test public void testListAllTables() throws Exception { List<TableDesc> tables = MetadataManager.getInstance(getTestConfig()).listAllTables(); Assert.assertNotNull(tables); Assert.assertTrue(tables.size() > 0); }