AdminClientVeneerApi implements AdminClientWrapper { @Override public ApiFuture<Void> deleteTableAsync(String tableId) { return delegate.deleteTableAsync(tableId); } 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 testDeleteTableAsync() throws Exception { Future<Void> deleteResponse = adminClientWrapper.deleteTableAsync("deleteAsyncTableID"); deleteResponse.get(); DeleteTableRequest deleteTableReq = fakeAdminService.popLastRequest(); assertEquals( "deleteAsyncTableID", NameUtil.extractTableIdFromTableName(deleteTableReq.getName())); }