BigtableVeneerApi extends BigtableApi { @Override public DataClientWrapper getDataClient() { return dataClientWrapper; } BigtableVeneerApi(BigtableHBaseVeneerSettings settings); @Override AdminClientWrapper getAdminClient(); @Override DataClientWrapper getDataClient(); @Override void close();  }
@Test public void testGetDataClient() throws Exception { assertTrue(bigtableApi.getDataClient() instanceof DataClientVeneerApi); Query query = Query.create(TABLE_ID).rowKey(ROW_KEY); bigtableApi.getDataClient().readRowsAsync(query); ReadRowsRequest request = fakeDataService.popLastRequest(); assertEquals(ROW_KEY, request.getRows().getRowKeys(0).toStringUtf8()); }