InMemoryMetaStore implements MetaStore { @Override public Map<String, Table> getTables() { return ImmutableMap.copyOf(tables); }  @Override String getTableType(); @Override void createTable(Table table); @Override void dropTable(String tableName); @Override Map<String, Table> getTables(); @Override BeamSqlTable buildBeamSqlTable(Table table); @Override void registerProvider(TableProvider provider);  }
@Test public void testGetTables() throws Exception { store.createTable(mockTable("hello")); store.createTable(mockTable("world")); assertEquals(2, store.getTables().size()); assertThat(store.getTables(), Matchers.hasValue(mockTable("hello"))); assertThat(store.getTables(), Matchers.hasValue(mockTable("world"))); }