You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by al...@apache.org on 2017/11/22 18:03:04 UTC
[camel] branch master updated: CAMEL-11869: Upgrade mockito-core to
version 2.11.0 for camel-apns
This is an automated email from the ASF dual-hosted git repository.
aldettinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 5ac4614 CAMEL-11869: Upgrade mockito-core to version 2.11.0 for camel-apns
5ac4614 is described below
commit 5ac461425daf60cc38b8c608634411a3123c2f52
Author: aldettinger <al...@gmail.com>
AuthorDate: Wed Nov 22 18:59:46 2017 +0100
CAMEL-11869: Upgrade mockito-core to version 2.11.0 for camel-apns
---
components/camel-apns/pom.xml | 1 +
.../component/apns/factory/ConfiguredApnsServiceFactoryTest.java | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/components/camel-apns/pom.xml b/components/camel-apns/pom.xml
index ab90772..4077ac2 100644
--- a/components/camel-apns/pom.xml
+++ b/components/camel-apns/pom.xml
@@ -125,6 +125,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
+ <version>${mockito2-version}</version>
<scope>test</scope>
</dependency>
diff --git a/components/camel-apns/src/test/java/org/apache/camel/component/apns/factory/ConfiguredApnsServiceFactoryTest.java b/components/camel-apns/src/test/java/org/apache/camel/component/apns/factory/ConfiguredApnsServiceFactoryTest.java
index f3fc60f..b65a1bf 100644
--- a/components/camel-apns/src/test/java/org/apache/camel/component/apns/factory/ConfiguredApnsServiceFactoryTest.java
+++ b/components/camel-apns/src/test/java/org/apache/camel/component/apns/factory/ConfiguredApnsServiceFactoryTest.java
@@ -24,8 +24,8 @@ import org.apache.camel.util.jsse.SSLContextParameters;
import org.junit.Before;
import org.junit.Test;
-import static org.mockito.Matchers.anyInt;
-import static org.mockito.Matchers.anyString;
+import static org.mockito.ArgumentMatchers.anyInt;
+import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
--
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <co...@camel.apache.org>'].