@Test
	public void testXmlGatewayFlowConverter() {
		XmlConverter xmlGatewayFlowConverter = xml.xmlGatewayFlowConverter();
		Collection<GatewayFlowRule> gatewayFlowRules = xmlGatewayFlowConverter.convert(readFileContent("classpath: gatewayflowrule.xml"));
		Assert.assertEquals(1, gatewayFlowRules.size());
		Assert.assertEquals("test", new ArrayList<>(gatewayFlowRules).get(0).getResource());
	}
Tests the XML gateway flow rule converter.
Reads XML content from a file, converts it to GatewayFlowRule collection, and validates the result.
spring-cloud-alibaba-starters/spring-cloud-alibaba-sentinel-gateway/src/test/java/com/alibaba/cloud/sentinel/gateway/SentinelGatewayAutoConfigurationTest.java