@@ -1495,9 +1495,10 @@ public void testSessionNotFoundReadWriteTransaction() {
14951495 .build ();
14961496 when (closedSession .asyncClose ())
14971497 .thenReturn (ApiFutures .immediateFuture (Empty .getDefaultInstance ()));
1498- when (closedSession .newTransaction (Options .fromTransactionOptions ()))
1498+ when (closedSession .newTransaction (eq ( Options .fromTransactionOptions ()), any ()))
14991499 .thenReturn (closedTransactionContext );
1500- when (closedSession .beginTransactionAsync (any (), eq (true ), any ())).thenThrow (sessionNotFound );
1500+ when (closedSession .beginTransactionAsync (any (), eq (true ), any (), any ()))
1501+ .thenThrow (sessionNotFound );
15011502 when (closedSession .getTracer ()).thenReturn (tracer );
15021503 TransactionRunnerImpl closedTransactionRunner = new TransactionRunnerImpl (closedSession );
15031504 closedTransactionRunner .setSpan (span );
@@ -1510,9 +1511,9 @@ public void testSessionNotFoundReadWriteTransaction() {
15101511 when (openSession .getName ())
15111512 .thenReturn ("projects/dummy/instances/dummy/database/dummy/sessions/session-open" );
15121513 final TransactionContextImpl openTransactionContext = mock (TransactionContextImpl .class );
1513- when (openSession .newTransaction (Options .fromTransactionOptions ()))
1514+ when (openSession .newTransaction (eq ( Options .fromTransactionOptions ()), any ()))
15141515 .thenReturn (openTransactionContext );
1515- when (openSession .beginTransactionAsync (any (), eq (true ), any ()))
1516+ when (openSession .beginTransactionAsync (any (), eq (true ), any (), any () ))
15161517 .thenReturn (ApiFutures .immediateFuture (ByteString .copyFromUtf8 ("open-txn" )));
15171518 when (openSession .getTracer ()).thenReturn (tracer );
15181519 TransactionRunnerImpl openTransactionRunner = new TransactionRunnerImpl (openSession );
0 commit comments