### Question:
PgSQLMetadataProvider extends JdbcMetadataProviderBase { @Override public Collection<String> getTables(@Nullable String schemaPattern, @Nullable String tablePattern) { return super.getTables("public", tablePattern); } PgSQLMetadataProvider(PgSQLTablespace space, String dbName); @Override Collection<String> getTables(@Nullable String schemaPattern, @Nullable String tablePattern);  }### Answer:
@Test public void testGetTables() throws Exception { Tablespace tablespace = TablespaceManager.get(jdbcUrl); MetadataProvider provider = tablespace.getMetadataProvider(); final Set<String> expected = Sets.newHashSet(PgSQLTestServer.TPCH_TABLES); expected.add("datetime_types"); final Set<String> found = Sets.newHashSet(provider.getTables(null, null)); assertEquals(expected, found); }