channel.writeInbound(new ContinuationWebSocketFrame(false, 0, content2.copy()));
channel.writeInbound(new PingWebSocketFrame(content1.copy()));
channel.writeInbound(new PongWebSocketFrame(content1.copy()));
channel.writeInbound(new ContinuationWebSocketFrame(true, 0, content3.copy()));
Assert.assertTrue(channel.finish());
BinaryWebSocketFrame frame = channel.readInbound();
Assert.assertTrue(frame.isFinalFragment());
Assert.assertEquals(1, frame.rsv());
Assert.assertEquals(content1, frame.content());