SchemaMetaData { public boolean containsTable(final String tableName) { return tables.containsKey(tableName.toLowerCase()); } @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 assertContainsTable() { assertTrue(new SchemaMetaData(ImmutableMap.of("tbl", mock(TableMetaData.class))).containsTable("tbl")); }