jonyangx commented on code in PR #2311:
URL:
https://github.com/apache/incubator-eventmesh/pull/2311#discussion_r1034845694
##########
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:
I figure it is better use verifyZeroInteractions method here.
--
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]