BulkMutationClassicApi implements BulkMutationWrapper { @Override public void flush() throws InterruptedException { delegate.flush(); } BulkMutationClassicApi(@Nonnull BulkMutation delegate); @Override ApiFuture<Void> add(RowMutationEntry rowMutation); @Override void sendUnsent(); @Override void flush(); @Override void close();  }
@Test public void testFlush() throws InterruptedException { doNothing().when(mockDelegate).flush(); bulkMutationWrapper.flush(); verify(mockDelegate).flush(); }