ClientConfig clientConfig = loadConfig("client-config.xml");
ClientConfig globalConfig = loadConfig("global-config.xml");
Assert.assertEquals("client", clientConfig.getMode());
globalConfig.accept(new ClientConfigMerger(clientConfig));
clientConfig.accept(new ClientConfigValidator());
List<Server> servers = clientConfig.getServers();
Assert.assertEquals(3, servers.size());