@BeforeClass
    public static void atFirst() {
        server = new BoltServer(port);
        server.start();
        server.registerUserProcessor(serverUserProcessor);
        server.addConnectionEventProcessor(ConnectionEventType.CONNECT, serverConnectProcessor);
    }
basic usage test

each test shared the same server

@author xiaomin.cxm
@version $Id: BasicUsage_SHARE_SAME_SERVER_Test.java, v 0.1 Apr 6, 2016 8:58:36 PM xiaomin.cxm Exp $
src/test/java/com/alipay/remoting/rpc/BasicUsage_SHARE_SAME_SERVER_Test.java