You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2020/09/13 20:13:34 UTC

[camel] branch master updated: Mockito#verifyZeroInteractions is deprecated

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

bvahdat 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 53a220a  Mockito#verifyZeroInteractions is deprecated
53a220a is described below

commit 53a220a97ffa0be1aa0e49586dbe80114668f9e4
Author: Babak Vahdat <bv...@apache.org>
AuthorDate: Sun Sep 13 22:13:07 2020 +0200

    Mockito#verifyZeroInteractions is deprecated
---
 .../org/apache/camel/component/quickfixj/QuickfixjConsumerTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjConsumerTest.java b/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjConsumerTest.java
index fafee99..4e9360a 100644
--- a/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjConsumerTest.java
+++ b/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjConsumerTest.java
@@ -68,7 +68,7 @@ public class QuickfixjConsumerTest {
         consumer.onExchange(mockExchange);
 
         // No expected interaction with processor since component is not started
-        Mockito.verifyZeroInteractions(mockProcessor);
+        Mockito.verifyNoInteractions(mockProcessor);
 
         consumer.start();
         Mockito.verify(mockEndpoint).ensureInitialized();