@Test
public void nettyNetChannelAcceptsNettyChannelHandlers() throws InterruptedException {
NetChannel<HttpObject, HttpRequest> connection =
new TcpClientSpec<HttpObject, HttpRequest>(NettyTcpClient.class)
.env(env)
.options(new NettyClientSocketOptions()
.pipelineConfigurer(new Consumer<ChannelPipeline>() {
@Override
public void accept(ChannelPipeline pipeline) {
pipeline.addLast(new HttpClientCodec());
}