@Test
public void test_mult_share_connect() {

    // here a three shared connection is established between a consumer process and a provider process.
    final int shareConnectionNum = 3;
    init(0, shareConnectionNum);
    List<ReferenceCountExchangeClient> helloReferenceClientList = getReferenceClientList(helloServiceInvoker);
    Assertions.assertEquals(shareConnectionNum, helloReferenceClientList.size());
    List<ReferenceCountExchangeClient> demoReferenceClientList = getReferenceClientList(demoServiceInvoker);
    Assertions.assertEquals(shareConnectionNum, demoReferenceClientList.size());
    // because helloServiceInvoker and demoServiceInvoker use share connect， so client list must be equal
    Assertions.assertEquals(helloReferenceClientList, demoReferenceClientList);
    Assertions.assertEquals(demoClient.getLocalAddress(), helloClient.getLocalAddress());
    Assertions.assertEquals(demoClient, helloClient);
    destoy();
}