test_class.declarator: socketChannel
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private SocketChannel socketChannel;
test_class.type: SocketChannel
test_class.var_name: socketChannel
test_class.declarator: channelPipeline
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ChannelPipeline channelPipeline;
test_class.type: ChannelPipeline
test_class.var_name: channelPipeline
test_class.file: shardingsphere-scaling/shardingsphere-scaling-bootstrap/src/test/java/org/apache/shardingsphere/scaling/web/HttpServerInitializerTest.java
test_class.identifier: HttpServerInitializerTest
test_case.body: @Test
      public void assertInitChannel() {
          HttpServerInitializer httpServerInitializer = new HttpServerInitializer();
          httpServerInitializer.initChannel(socketChannel);
          verify(channelPipeline, times(3)).addLast(any(ChannelHandler.class));
      }
test_case.class_method_signature: HttpServerInitializerTest.assertInitChannel()
test_case.full_signature: @Test public void assertInitChannel()
test_case.identifier: assertInitChannel
test_case.invocations: initChannel addLast verify times any
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertInitChannel()
focal_class.file: shardingsphere-scaling/shardingsphere-scaling-bootstrap/src/main/java/org/apache/shardingsphere/scaling/web/HttpServerInitializer.java
focal_class.identifier: HttpServerInitializer
focal_class.class_method_signature: HttpServerInitializer.initChannel(final SocketChannel socketChannel)
focal_class.full_signature: @Override protected void initChannel(final SocketChannel socketChannel)
focal_class.identifier: initChannel
focal_class.modifiers: @Override protected
focal_class.parameters: (final SocketChannel socketChannel)
focal_class.return: void
focal_class.signature: void initChannel(final SocketChannel socketChannel)
focal_class.superclass: extends ChannelInitializer<SocketChannel>
focal_method.body: @Override
      protected void initChannel(final SocketChannel socketChannel) {
          ChannelPipeline channelPipeline = socketChannel.pipeline();
          channelPipeline.addLast(new HttpServerCodec());
          channelPipeline.addLast(new HttpObjectAggregator(65536));
          channelPipeline.addLast(new HttpServerHandler());
      }
focal_method.class_method_signature: HttpServerInitializer.initChannel(final SocketChannel socketChannel)
focal_method.full_signature: @Override protected void initChannel(final SocketChannel socketChannel)
focal_method.identifier: initChannel
focal_method.invocations: pipeline addLast addLast addLast
focal_method.modifiers: @Override protected
focal_method.parameters: (final SocketChannel socketChannel)
focal_method.return: void
focal_method.signature: void initChannel(final SocketChannel socketChannel)