↧
Answer by Ferrybig for How to unit test netty handler
In Netty, there are different ways to test your networking stack. Testing ChannelHandlers You can use Netty's EmbeddedChannel to mock a netty connection for testing, an example of this would be: @Test...
View ArticleHow to unit test netty handler
I implement a handler which extends SimpleChannelHandler, and overrides some methods such as channelConnected, messageReceived. However, I am wondering how to unit test it? I searched about "netty...
View Article