diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml
index 2c6ed772b..4b91056aa 100644
--- a/google-cloud-pubsub/pom.xml
+++ b/google-cloud-pubsub/pom.xml
@@ -114,11 +114,6 @@
-
- org.mockito
- mockito-core
- test
-
junit
junit
@@ -133,6 +128,13 @@
org.easymock
easymock
test
+
+
+
+ org.mockito
+ mockito-core
+ test
com.google.cloud
diff --git a/pom.xml b/pom.xml
index 5ed35d577..7211f7348 100644
--- a/pom.xml
+++ b/pom.xml
@@ -98,7 +98,7 @@
org.easymock
easymock
- 5.2.0
+ 5.6.0
test