From 1d6373393725bf68a322256f7ac07e9d5f2def96 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Mon, 25 Feb 2013 14:11:23 -0500 Subject: [PATCH] INT-2936 Polishing Fix Test in 2.2.x branch. --- .../integration/ip/tcp/connection/TcpNetConnectionTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/connection/TcpNetConnectionTests.java b/spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/connection/TcpNetConnectionTests.java index ed58d93748..9cf9beb76a 100644 --- a/spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/connection/TcpNetConnectionTests.java +++ b/spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/connection/TcpNetConnectionTests.java @@ -76,7 +76,7 @@ public class TcpNetConnectionTests { SocketChannel socketChannel = mock(SocketChannel.class); Socket socket = mock(Socket.class); when(socketChannel.socket()).thenReturn(socket); - TcpNioConnection connection = new TcpNioConnection(socketChannel, true, false, null, null); + TcpNioConnection connection = new TcpNioConnection(socketChannel, true, false); ChannelInputStream inputStream = TestUtils.getPropertyValue(connection, "channelInputStream", ChannelInputStream.class); inputStream.write(new byte[] {(byte) 0x80}, 1); assertEquals(0x80, inputStream.read());