Commit 26c117c0 authored by harshit aggarwal's avatar harshit aggarwal
Browse files

fixing UTs

parent a55a9ab6
Pipeline #21990 failed with stages
in 2 minutes and 16 seconds
......@@ -80,7 +80,7 @@ public class ProcessWKSTransformTest {
processWKSTransform.initiateWksTransformation(message);
verify(message, times(1)).getMessageBody();
verify(message, times(1)).getMessageId();
verify(message, times(2)).getMessageId();
}
@Test
......@@ -92,7 +92,7 @@ public class ProcessWKSTransformTest {
verify(mdcContextMap, times(1)).getContextMap(correlationId, dataPartitionId);
verify(message, times(1)).getMessageBody();
verify(message, times(1)).getMessageId();
verify(message, times(2)).getMessageId();
verify(message, times(1)).setMessageId(messageId);
}
......@@ -107,7 +107,7 @@ public class ProcessWKSTransformTest {
verify(mdcContextMap, times(1)).getContextMap(correlationId, dataPartitionId);
verify(message, times(1)).getMessageBody();
verify(message, times(2)).getMessageId();
verify(message, times(3)).getMessageId();
verify(message, times(1)).setMessageId(messageId);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment