@Test
    public void testAll() {

        ClientTransportConfig config = new ClientTransportConfig();
        config.setProviderInfo(ProviderHelper.toProviderInfo("127.0.0.1"));
        config.setContainer("xxx");
        config.setChannelListeners(Collections.<ChannelListener> singletonList(new ChannelListener() {
            @Override
            public void onConnected(AbstractChannel channel) {

            }

            @Override
            public void onDisconnected(AbstractChannel channel) {

            }
        }));
        config.setConnectionNum(22);
        config.setConnectTimeout(3333);
        config.setConsumerConfig(new ConsumerConfig());
        config.setDisconnectTimeout(4444);
        config.setInvokeTimeout(5555);
        config.setPayload(666666);
        config.setUseEpoll(true);

        Assert.assertNotNull(config.getConsumerConfig());
        Assert.assertNotNull(config.getProviderInfo());
        Assert.assertNotNull(config.getChannelListeners());
        Assert.assertEquals("xxx", config.getContainer());
        Assert.assertEquals(22, config.getConnectionNum());
        Assert.assertEquals(3333, config.getConnectTimeout());
        Assert.assertEquals(4444, config.getDisconnectTimeout());
        Assert.assertEquals(5555, config.getInvokeTimeout());
        Assert.assertEquals(666666, config.getPayload());
        Assert.assertTrue(config.isUseEpoll());
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/api/src/test/java/com/alipay/sofa/rpc/transport/ClientTransportConfigTest.java