test_class.file: dubbo-remoting/dubbo-remoting-netty4/src/test/java/com/alibaba/dubbo/remoting/transport/netty4/NettyTransporterTest.java
test_class.identifier: NettyTransporterTest
test_case.body: @Test
      public void shouldAbleToBindNetty4() throws Exception {
          int port = NetUtils.getAvailablePort();
          URL url = new URL("http", "localhost", port,
                  new String[]{Constants.BIND_PORT_KEY, String.valueOf(port)});
  
          Server server = new NettyTransporter().bind(url, new ChannelHandlerAdapter());
  
          assertThat(server.isBound(), is(true));
      }
test_case.class_method_signature: NettyTransporterTest.shouldAbleToBindNetty4()
test_case.full_signature: @Test public void shouldAbleToBindNetty4()
test_case.identifier: shouldAbleToBindNetty4
test_case.invocations: getAvailablePort valueOf bind assertThat isBound is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldAbleToBindNetty4()
focal_class.declarator: NAME = "netty"
focal_class.modifier: public static final
focal_class.original_string: public static final String NAME = "netty";
focal_class.type: String
focal_class.var_name: NAME
focal_class.file: dubbo-remoting/dubbo-remoting-netty4/src/main/java/com/alibaba/dubbo/remoting/transport/netty4/NettyTransporter.java
focal_class.identifier: NettyTransporter
focal_class.interfaces: implements Transporter
focal_class.class_method_signature: NettyTransporter.bind(URL url, ChannelHandler listener)
focal_class.full_signature: @Override public Server bind(URL url, ChannelHandler listener)
focal_class.identifier: bind
focal_class.modifiers: @Override public
focal_class.parameters: (URL url, ChannelHandler listener)
focal_class.return: Server
focal_class.signature: Server bind(URL url, ChannelHandler listener)
focal_class.class_method_signature: NettyTransporter.connect(URL url, ChannelHandler listener)
focal_class.full_signature: @Override public Client connect(URL url, ChannelHandler listener)
focal_class.identifier: connect
focal_class.modifiers: @Override public
focal_class.parameters: (URL url, ChannelHandler listener)
focal_class.return: Client
focal_class.signature: Client connect(URL url, ChannelHandler listener)
focal_method.body: @Override
      public Server bind(URL url, ChannelHandler listener) throws RemotingException {
          return new NettyServer(url, listener);
      }
focal_method.class_method_signature: NettyTransporter.bind(URL url, ChannelHandler listener)
focal_method.full_signature: @Override public Server bind(URL url, ChannelHandler listener)
focal_method.identifier: bind
focal_method.modifiers: @Override public
focal_method.parameters: (URL url, ChannelHandler listener)
focal_method.return: Server
focal_method.signature: Server bind(URL url, ChannelHandler listener)