diff --git a/dialogflow-cx/snippets/pom.xml b/dialogflow-cx/snippets/pom.xml
index a1f8bc350ed..4c4626d39b6 100644
--- a/dialogflow-cx/snippets/pom.xml
+++ b/dialogflow-cx/snippets/pom.xml
@@ -55,7 +55,7 @@
org.mockito
mockito-core
- 3.12.4
+ 4.0.0
test