BulkReadClassicApi implements BulkReadWrapper { @Override public void sendOutstanding() { delegate.flush(); } BulkReadClassicApi(@Nonnull BulkRead delegate, @Nonnull String tableId); @Override ApiFuture<Result> add(ByteString rowKey, Filters.Filter filter); @Override void sendOutstanding();  }
@Test public void testSendOutstanding() { doNothing().when(delegate).flush(); bulkReadWrapper.sendOutstanding(); verify(delegate).flush(); }