From d586ada29adc3556a64591d324e96891e65aee3e Mon Sep 17 00:00:00 2001 From: Ulises Andreu Olivenza Yago Date: Mon, 17 Jun 2024 16:10:27 +0200 Subject: [PATCH] Pr comments --- .../com/hivemq/mqtt/handler/publish/PublishFlowHandlerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/hivemq/mqtt/handler/publish/PublishFlowHandlerTest.java b/src/test/java/com/hivemq/mqtt/handler/publish/PublishFlowHandlerTest.java index c00fcc210..5ca02b0ec 100644 --- a/src/test/java/com/hivemq/mqtt/handler/publish/PublishFlowHandlerTest.java +++ b/src/test/java/com/hivemq/mqtt/handler/publish/PublishFlowHandlerTest.java @@ -847,7 +847,7 @@ public void test_Qos2AndQos1PublishDoNotInterfereWithEachOther() { verify(incomingPublishHandler, times(1)).interceptOrDelegate(any(ChannelHandlerContext.class), eq(publishQoS2), eq(CLIENT_ID)); - verify(incomingPublishHandler, times(0)).interceptOrDelegate(any(ChannelHandlerContext.class), + verify(incomingPublishHandler, never()).interceptOrDelegate(any(ChannelHandlerContext.class), eq(publishQoS2Duplicate), eq(CLIENT_ID)); }