BigtableClassicApi extends BigtableApi { @Override public AdminClientWrapper getAdminClient() { return adminClientWrapper; } BigtableClassicApi(BigtableHBaseClassicSettings settings);  BigtableClassicApi(BigtableHBaseSettings settings, BigtableSession session); @Override AdminClientWrapper getAdminClient(); @Override DataClientWrapper getDataClient(); @Override void close();  }
@Test public void testAdminClient() throws Exception { assertTrue(bigtableApi.getAdminClient() instanceof AdminClientClassicApi); bigtableApi.getAdminClient().deleteTableAsync(TABLE_ID).get(); DeleteTableRequest deleteTableRequest = fakeAdminService.popLastRequest(); assertEquals(TABLE_ID, extractTableIdFromTableName(deleteTableRequest.getName())); }