SchemaMetaData { public Collection<String> getAllTableNames() { return tables.keySet(); } @SuppressWarnings("CollectionWithoutInitialCapacity")  SchemaMetaData();  SchemaMetaData(final Map<String, TableMetaData> tables); Collection<String> getAllTableNames(); TableMetaData get(final String tableName); void merge(final SchemaMetaData schemaMetaData); void put(final String tableName, final TableMetaData tableMetaData); void remove(final String tableName); boolean containsTable(final String tableName); boolean containsColumn(final String tableName, final String columnName); List<String> getAllColumnNames(final String tableName);  }
@Test public void assertGetAllTableNames() { assertThat(new SchemaMetaData(ImmutableMap.of("tbl", mock(TableMetaData.class))).getAllTableNames(), is(Sets.newHashSet("tbl"))); }