SchemaMetaDataLoader { public static Collection<String> loadUnconfiguredTableNames(final DataSource dataSource, final String databaseType, final Collection<String> excludedTableNames) throws SQLException { List<String> tableNames; try (MetaDataConnection connection = new MetaDataConnection(dataSource.getConnection())) { tableNames = loadAllTableNames(connection, databaseType); tableNames.removeAll(excludedTableNames); } log.info("Loading {} tables' meta data.", tableNames.size()); if (tableNames.isEmpty()) { return Collections.emptyList(); } return tableNames; }  static Collection<String> loadUnconfiguredTableNames(final DataSource dataSource, final String databaseType, final Collection<String> excludedTableNames);  }
@Test public void assertLoadUnconfiguredTableNamesForOracle() throws SQLException { Collection<String> tableNames = SchemaMetaDataLoader.loadUnconfiguredTableNames(dataSource, DATABASE_TYPE_ORACLE, Collections.emptyList()); assertThat(tableNames.size(), is(0)); }