@Test
public void testNettyClient() {

    Attribute attribute = new Attribute();
    attribute.put(RemotingConst.HOST_KEY, "127.0.0.1");
    attribute.put(RemotingConst.PORT_KEY, 8080);
    // handle request
    HodorChannelHandler handler = new HodorClientChannelHandler();
    NetClientTransport clientTransport = ExtensionLoader.getExtensionLoader(NetClientTransport.class).getDefaultJoin();
    NetClient client = clientTransport.connect(attribute, handler);
    client.connection();
}