UladzislauBlok commented on code in PR #21536:
URL: https://github.com/apache/kafka/pull/21536#discussion_r2897911371


##########
streams/src/test/java/org/apache/kafka/streams/kstream/SessionWindowedDeserializerTest.java:
##########
@@ -118,14 +118,13 @@ public void 
shouldThrowConfigExceptionWhenInvalidWindowedInnerDeserializerClassS
     }
 
     @Test
-    public void shouldPassHeadersToUnderlyingSerializer() {
+    public void shouldPassHeadersToUnderlyingDeserializer() {
         final Deserializer<String> mockDeserializer = 
mock(StringDeserializer.class);
         when(mockDeserializer.deserialize(anyString(), any(Headers.class), 
any(byte[].class))).thenReturn("test-value");
 
-        final String key = "test-key";
-        final Windowed<String> windowed = new Windowed<>(key, new 
TimeWindow(0, 1));

Review Comment:
   yeah...  :)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to