clolov commented on code in PR #14929:
URL: https://github.com/apache/kafka/pull/14929#discussion_r1439203605


##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/StoreChangelogReaderTest.java:
##########
@@ -946,7 +966,6 @@ public void 
shouldOnlyRestoreStandbyChangelogInUpdateStandbyState() {
         final Map<TaskId, Task> mockTasks = mock(Map.class);
         
EasyMock.expect(mockTasks.get(null)).andReturn(mock(Task.class)).anyTimes();
         
EasyMock.expect(mockTasks.containsKey(null)).andReturn(true).anyTimes();
-        EasyMock.expect(stateManager.taskType()).andReturn(type);

Review Comment:
   This setup, and the two below, was reported as unnecessary by Mockito



-- 
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

Reply via email to