weihubeats commented on code in PR #2311:
URL: 
https://github.com/apache/incubator-eventmesh/pull/2311#discussion_r1034884309


##########
eventmesh-sdk-java/src/test/java/org/apache/eventmesh/client/grpc/consumer/EventMeshGrpcConsumerTest.java:
##########
@@ -112,15 +112,15 @@ public void testSubscribeWithUrl() {
     @Test
     public void testSubscribeStreamWithoutListener() {
         
eventMeshGrpcConsumer.subscribe(Collections.singletonList(buildMockSubscriptionItem()));
-        verifyZeroInteractions(consumerAsyncClient);
+        verifyNoMoreInteractions(consumerAsyncClient);

Review Comment:
   verifyZeroInteractions is a deprecated method that also calls 
verifyNoMoreInteractions at the bottom.
   <img width="602" alt="image" 
src="https://user-images.githubusercontent.com/42484192/204566834-bfcb29f3-d8f3-4c16-9f65-593edac1fa19.png";>
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to