DataClientVeneerApi implements DataClientWrapper { @Override public BulkReadWrapper createBulkRead(String tableId) { return new BulkReadVeneerApi(delegate, tableId); } DataClientVeneerApi(BigtableDataClient delegate); @Override BulkMutationWrapper createBulkMutation(String tableId); @Override BulkReadWrapper createBulkRead(String tableId); @Override ApiFuture<Void> mutateRowAsync(RowMutation rowMutation); @Override ApiFuture<Result> readModifyWriteRowAsync(ReadModifyWriteRow readModifyWriteRow); @Override ApiFuture<Boolean> checkAndMutateRowAsync(ConditionalRowMutation conditionalRowMutation); @Override ApiFuture<List<KeyOffset>> sampleRowKeysAsync(String tableId); @Override ApiFuture<Result> readRowAsync(
      String tableId, ByteString rowKey, @Nullable Filters.Filter filter); @Override ResultScanner readRows(Query request); @Override ApiFuture<List<Result>> readRowsAsync(Query request); @Override void readRowsAsync(Query request, StreamObserver<Result> observer); @Override void close();  }
@Test public void testCreateBulkRead() throws Exception { when(mockDataClient.newBulkReadRowsBatcher(TABLE_ID, null)).thenReturn(mockReadBatcher); when(mockReadBatcher.add(ROW_KEY)).thenReturn(ApiFutures.immediateFuture(MODEL_ROW)); BulkReadWrapper bulkReadWrapper = dataClientWrapper.createBulkRead(TABLE_ID); assertResult(EXPECTED_RESULT, bulkReadWrapper.add(ROW_KEY, null).get()); verify(mockDataClient).newBulkReadRowsBatcher(TABLE_ID, null); verify(mockReadBatcher).add(ROW_KEY); }