diff --git a/src/test/java/com/hivemq/mqtt/services/PublishPollServiceImplTest.java b/src/test/java/com/hivemq/mqtt/services/PublishPollServiceImplTest.java index 8b445aa6d..a3e4089ff 100644 --- a/src/test/java/com/hivemq/mqtt/services/PublishPollServiceImplTest.java +++ b/src/test/java/com/hivemq/mqtt/services/PublishPollServiceImplTest.java @@ -220,7 +220,6 @@ public void test_inflight_messages_packet_id_not_available() { verify(freePacketIdRanges, times(1)).takeIfAvailable(anyInt()); verify(publishFlushHandler, times(1)).sendPublishes(any(List.class)); - verify(freePacketIdRanges).returnId(2); } @Test