@@ -170,7 +170,7 @@ public void testWriteMutations() throws Exception {
170170 .set ("name" )
171171 .to ("Two" )
172172 .build ());
173- verify (databaseClient ).writeWithOptions (eq (expectedMutations ), any ());
173+ verify (databaseClient ).writeWithOptions (eq (expectedMutations ), any (com . google . cloud . spanner . Options . TransactionOption []. class ));
174174 }
175175
176176 @ Test
@@ -270,7 +270,7 @@ public void testWriteMutations_NonAtomic_SucceedsForLargeBatch() throws Exceptio
270270 StatementResult updateCount = mutationWriter .call ();
271271
272272 assertEquals (5L , updateCount .getUpdateCount ().longValue ());
273- verify (databaseClient , times (3 )).writeWithOptions (anyIterable (), any ());
273+ verify (databaseClient , times (3 )).writeWithOptions (anyIterable (), any (com . google . cloud . spanner . Options . TransactionOption []. class ));
274274 } finally {
275275 System .getProperties ().remove ("copy_in_mutation_limit" );
276276 }
@@ -372,7 +372,7 @@ public void testWriteMutations_NonAtomic_SucceedsForLargeCommit() throws Excepti
372372 // 4. The second batch contains 28 bytes. (3 - 'Three')
373373 // 5. The third batch contains 24 bytes. (4 - 'Four')
374374 // 6. the fourth batch contains 24 bytes. (5 - 'Five')
375- verify (databaseClient , times (4 )).writeWithOptions (anyIterable (), any ());
375+ verify (databaseClient , times (4 )).writeWithOptions (anyIterable (), any (com . google . cloud . spanner . Options . TransactionOption []. class ));
376376 } finally {
377377 System .getProperties ().remove ("copy_in_commit_limit" );
378378 }
@@ -441,7 +441,7 @@ public void testWritePartials() throws Exception {
441441 .set ("name" )
442442 .to ("Five" )
443443 .build ());
444- verify (databaseClient ).writeWithOptions (eq (expectedMutations ), any ());
444+ verify (databaseClient ).writeWithOptions (eq (expectedMutations ), any (com . google . cloud . spanner . Options . TransactionOption []. class ));
445445
446446 executor .shutdown ();
447447 }
0 commit comments