You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/08/12 18:59:18 UTC

[GitHub] [kafka] dplavcic commented on a diff in pull request #12492: KAFKA-14133: Replace EasyMock with Mockito in streams tests

dplavcic commented on code in PR #12492:
URL: https://github.com/apache/kafka/pull/12492#discussion_r944750815


##########
streams/src/test/java/org/apache/kafka/streams/kstream/internals/KStreamPrintTest.java:
##########
@@ -31,11 +33,15 @@
 
 import static org.junit.Assert.assertEquals;
 
+@RunWith(MockitoJUnitRunner.StrictStubs.class)
 public class KStreamPrintTest {
 
     private ByteArrayOutputStream byteOutStream;
     private Processor<Integer, String, Void, Void> printProcessor;
 
+    @Mock
+    ProcessorContext<Void, Void> processorContext;

Review Comment:
   [optional] Can you please double check if we can set `private` access modifier to the `ProcessorContext<Void, Void> processorContext;` ?



-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org