protected void configPipeline(Channel inboundChannel, Channel outboundChannel) {
        inboundChannel.pipeline().addLast(new HAProxyMessageForwarder(outboundChannel));
        outboundChannel.pipeline().addFirst(HAProxyMessageEncoder.INSTANCE);
    }
@Test
    public void configPipeline() {
        when(inboundChannel.pipeline()).thenReturn(inboundPipeline);
        when(inboundPipeline.addLast(any(HAProxyMessageForwarder.class))).thenReturn(inboundPipeline);
        when(outboundChannel.pipeline()).thenReturn(outboundPipeline);
        when(outboundPipeline.addFirst(any(HAProxyMessageEncoder.class))).thenReturn(outboundPipeline);
        http2ProtocolProxyHandler.configPipeline(inboundChannel, outboundChannel);
    }