cadonna commented on code in PR #16222: URL: https://github.com/apache/kafka/pull/16222#discussion_r1629032640
########## streams/src/test/java/org/apache/kafka/streams/processor/internals/RecordCollectorTest.java: ########## @@ -754,7 +755,7 @@ public void shouldForwardFlushToStreamsProducer() { final StreamsProducer streamsProducer = mock(StreamsProducer.class); when(streamsProducer.eosEnabled()).thenReturn(false); doNothing().when(streamsProducer).flush(); - + when(streamsProducer.sendException()).thenReturn(new AtomicReference<>(null)); Review Comment: Needed to add this stub to a couple of tests so that they do not throw a `NullPointerException` because the mock return `null` for `sendException()`. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org