358359360361362363364365366367368
result.getAndSet(casResult); } }; //When batch.batchNativeStatementWithCASListener(statement,listener, entity.getId(),"name"); batch.endBatch(); //Then assertThat(error.get()).isTrue(); assertThat(result.get()).isNotNull();