	@Test
	public void getConfigXmlTest() {

		try {
			Map<String, ConsumerGroupVo> maps = ClientConfigHelper.getConfig(consumerError);
			assertEquals("consumerError 解析异常", 1, maps.size());
		} catch (Exception e) {
			// TODO: handle exception
		}
		try {
			Map<String, ConsumerGroupVo> maps = ClientConfigHelper.getConfig(consumerGroupError);
			assertEquals("consumerGroupError 解析异常", 1, maps.size());
		} catch (Exception e) {
			// TODO: handle exception
		}
		try {
			Map<String, ConsumerGroupVo> maps = ClientConfigHelper.getConfig(consumerGroupTopicEmptyError);
			assertEquals("consumerGroupTopicEmptyError 解析异常", 1, maps.size());
		} catch (Exception e) {
			// TODO: handle exception
		}
		try {
			Map<String, ConsumerGroupVo> maps = ClientConfigHelper.getConfig(consumerTopicNameError);
			assertEquals("consumerTopicNameError 解析异常", 1, maps.size());
		} catch (Exception e) {
			// TODO: handle exception
		}
		
		try {
			Map<String, ConsumerGroupVo> maps = ClientConfigHelper.getConfig(receiverTypeError);
			assertEquals("receiverTypeError 解析异常", 1, maps.size());
		} catch (Exception e) {
			// TODO: handle exception
		}
		
		try {
			Map<String, ConsumerGroupVo> maps = ClientConfigHelper.getConfig(receiverNotExistTypeError);
			assertEquals("receiverNotExistTypeError 解析异常", 1, maps.size());
		} catch (Exception e) {
			// TODO: handle exception
		}
		
		try {
			Map<String, ConsumerGroupVo> maps = ClientConfigHelper.getConfig(noReceiverTypeError);
			assertEquals("noReceiverTypeError 解析异常", 1, maps.size());
		} catch (Exception e) {
			// TODO: handle exception
		}
		
		
		
		Map<String, ConsumerGroupVo> maps = ClientConfigHelper.getConfig(twoConsumerGroups);
		assertEquals("twoConsumerGroups 解析异常", 2, maps.size());

		maps = ClientConfigHelper.getConfig(twoConsumerGroups1);
		assertEquals("twoConsumerGroups1 解析异常", 2, maps.size());

		assertEquals(null, ClientConfigHelper.getConfig(null));
		
		boolean rs=false;
		try {
			ClientConfigHelper.getConfig("tete");
		} catch (Exception e) {
			rs=true;
		}
		assertEquals(true, rs);
	}