@Test
public void getServerTransport() throws Exception {

    ServerTransportConfig config = new ServerTransportConfig();
    config.setHost("0.0.0.0");
    config.setPort(22222);
    config.setBossThreads(1);
    config.setIoThreads(8);
    config.setBizMaxThreads(200);
    config.setBizPoolQueues(50);
    config.setDaemon(false);
    config.setContainer("test");
    ServerTransport server = ServerTransportFactory.getServerTransport(config);
    Assert.assertNotNull(server);
    boolean error = false;
    try {
        config.setContainer("testasdasd");
        ServerTransportFactory.getServerTransport(config);
    } catch (Exception e) {
        error = true;
    }
    Assert.assertTrue(error);
}