diff --git a/native/src/test/java/io/ballerina/stdlib/http/transport/unitfunction/CommonUtilTestCase.java b/native/src/test/java/io/ballerina/stdlib/http/transport/unitfunction/CommonUtilTestCase.java index cc6253c17f..0c39cd561f 100644 --- a/native/src/test/java/io/ballerina/stdlib/http/transport/unitfunction/CommonUtilTestCase.java +++ b/native/src/test/java/io/ballerina/stdlib/http/transport/unitfunction/CommonUtilTestCase.java @@ -235,7 +235,8 @@ public void testResetChannelAttributes() { @Test public void testIsKeepAlive() throws ConfigurationException { HttpCarbonMessage outboundRequestMsg = mock(HttpCarbonMessage.class); - Assert.assertFalse(Util.isKeepAlive(KeepAliveConfig.NEVER, outboundRequestMsg)); + HttpCarbonMessage inboundRequestMsg = mock(HttpCarbonMessage.class); + Assert.assertFalse(Util.isKeepAlive(KeepAliveConfig.NEVER, outboundRequestMsg, inboundRequestMsg)); } }