AdminClientVeneerApi implements AdminClientWrapper { @Override public ApiFuture<List<String>> listTablesAsync() { return delegate.listTablesAsync(); } AdminClientVeneerApi(BigtableTableAdminClient delegate); @Override ApiFuture<Table> createTableAsync(CreateTableRequest request); @Override ApiFuture<Table> getTableAsync(String tableId); @Override ApiFuture<List<String>> listTablesAsync(); @Override ApiFuture<Void> deleteTableAsync(String tableId); @Override ApiFuture<Table> modifyFamiliesAsync(ModifyColumnFamiliesRequest request); @Override ApiFuture<Void> dropRowRangeAsync(String tableId, ByteString rowKeyPrefix); @Override ApiFuture<Void> dropAllRowsAsync(String tableId); @Override void close();  }
@Test public void testListTablesAsync() throws Exception { Future<List<String>> tableIds = adminClientWrapper.listTablesAsync(); assertEquals(Arrays.asList(TABLE_ID_1, TABLE_ID_2), tableIds.get()); }