diff --git a/java-dialogflow-cx/samples/install-without-bom/pom.xml b/java-dialogflow-cx/samples/install-without-bom/pom.xml
index 35fc8c961b1d..490b869a8bed 100644
--- a/java-dialogflow-cx/samples/install-without-bom/pom.xml
+++ b/java-dialogflow-cx/samples/install-without-bom/pom.xml
@@ -40,7 +40,7 @@
org.mockito
mockito-core
- 4.7.0
+ 4.8.0
test
diff --git a/java-dialogflow-cx/samples/snapshot/pom.xml b/java-dialogflow-cx/samples/snapshot/pom.xml
index 8544a8988cf7..4ff29102d52d 100644
--- a/java-dialogflow-cx/samples/snapshot/pom.xml
+++ b/java-dialogflow-cx/samples/snapshot/pom.xml
@@ -39,7 +39,7 @@
org.mockito
mockito-core
- 4.7.0
+ 4.8.0
test
diff --git a/java-dialogflow-cx/samples/snippets/pom.xml b/java-dialogflow-cx/samples/snippets/pom.xml
index 679a7e2e92b5..ceaae60df08f 100644
--- a/java-dialogflow-cx/samples/snippets/pom.xml
+++ b/java-dialogflow-cx/samples/snippets/pom.xml
@@ -55,7 +55,7 @@
org.mockito
mockito-core
- 4.7.0
+ 4.8.0
test