### Question:
LinkedMetadataManager { public TableDesc getTable(String dbName, String schemaName, String tbName) throws UndefinedDatabaseException, UndefinedTablespaceException { ensureIfDBExists(dbName); return providerMap.get(dbName).getTableDesc(schemaName, tbName); } LinkedMetadataManager(Collection<MetadataProvider> providers); Collection<String> getTablespaceNames(); Optional<Pair<String, URI>> getTablespace(final String spaceName); Collection<Pair<String, URI>> getTablespaces(); boolean existsTablespace(String tablespaceName); Collection<String> getDatabases(); boolean existsDatabase(String dbName); Collection<String> getSchemas(@Nullable String dbName); Collection<String> getTableNames(String dbName,
                                          @Nullable final String schemaPattern,
                                          @Nullable final String tablePattern); void createTable(TableDesc desc); void dropTable(String databaseName, String schemaName, String tableName); boolean existsTable(String dbName, String schemaName, String tableName); TableDesc getTable(String dbName, String schemaName, String tbName);  }### Answer:
@Test public void testGetTable() throws Exception { assertEquals(TABLE1, catalog.getTableDesc("space1", "table1")); assertEquals(TABLE2, catalog.getTableDesc("space1", "table2")); assertEquals(TABLE3, catalog.getTableDesc("space2", "table3")); assertEquals(TABLE4, catalog.getTableDesc("space2", "table4")); }