Our application is built using Netty 4 websockets. We are trying to write unit testcases. In that process we want to mock ChannelHandlerContext, Channel, PipeLine etc. Can someone suggest how to do this?
Thanks
Our application is built using Netty 4 websockets. We are trying to write unit testcases. In that process we want to mock ChannelHandlerContext, Channel, PipeLine etc. Can someone suggest how to do this?
Thanks
I think you should just use EmbeddedChannel for testing your ChannelHandlers. See other tests included in Netty how todo this.