This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 482475e814a4a9e42fc4f24a6b49f7fe0f14211f
Author: Stephen Mallette <[email protected]>
AuthorDate: Fri Aug 22 16:21:52 2025 -0400

    Bumped Mockito to latest CTR
---
 .../tinkerpop/gremlin/process/traversal/ContainsBulkSetTest.java | 9 ++++-----
 pom.xml                                                          | 2 +-
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git 
a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/ContainsBulkSetTest.java
 
b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/ContainsBulkSetTest.java
index 85209ace6c..421b29142a 100644
--- 
a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/ContainsBulkSetTest.java
+++ 
b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/ContainsBulkSetTest.java
@@ -26,11 +26,10 @@ import org.junit.Test;
 import org.junit.experimental.runners.Enclosed;
 import org.junit.rules.ExpectedException;
 import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
 import org.mockito.Mockito;
 
 import static org.junit.Assert.assertEquals;
-import static org.mockito.ArgumentMatchers.anyObject;
+import static org.mockito.ArgumentMatchers.any;
 import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
 
@@ -50,16 +49,16 @@ public class ContainsBulkSetTest {
         // If bulkset contains only one type of element, we should use contains
         assertEquals(true, Contains.within.test(new ReferenceVertex("3"), 
bulkSet));
         assertEquals(false, Contains.within.test(new ReferenceVertex("4"), 
bulkSet));
-        verify(bulkSet, times(2)).contains(anyObject());
+        verify(bulkSet, times(2)).contains(any());
         // we should also not use contains if we test for different type
         assertEquals(false, Contains.within.test(new 
ReferenceVertexProperty<>("2", "label", "value"), bulkSet));
-        verify(bulkSet, times(2)).contains(anyObject());
+        verify(bulkSet, times(2)).contains(any());
 
         // If bulkset contains different types of elements, we can no longer 
use contains
         bulkSet.add("test string", 1);
         assertEquals(true, Contains.within.test(new ReferenceVertex("3"), 
bulkSet));
         assertEquals(false, Contains.within.test(new ReferenceVertex("4"), 
bulkSet));
         assertEquals(false, Contains.within.test(new 
ReferenceVertexProperty<>("2", "label", "value"), bulkSet));
-        verify(bulkSet, times(2)).contains(anyObject());
+        verify(bulkSet, times(2)).contains(any());
     }
 }
diff --git a/pom.xml b/pom.xml
index a2ff8f977f..7d68ca85be 100644
--- a/pom.xml
+++ b/pom.xml
@@ -173,7 +173,7 @@ limitations under the License.
         <kerby.version>2.0.1</kerby.version>
         <logback.version>1.2.13</logback.version>
         <metrics.version>3.0.2</metrics.version>
-        <mockito.version>3.10.0</mockito.version>
+        <mockito.version>5.19.0</mockito.version>
         <netty.version>4.1.101.Final</netty.version>
         <slf4j.version>1.7.25</slf4j.version>
         <snakeyaml.version>2.0</snakeyaml.version>

Reply via email to