@Test
	public void testJsonApiConverter() {
		JsonConverter jsonApiConverter = json.jsonApiConverter();
		Collection<ApiDefinition> apiDefinitions = jsonApiConverter.convert(readFileContent("classpath: apidefinition.json"));
		Assert.assertEquals(1, apiDefinitions.size());
		Assert.assertEquals("test", new ArrayList<>(apiDefinitions).get(0).getApiName());
	}
Tests the JSON API definition converter.
Reads JSON content from a file, converts it to ApiDefinition collection, and validates the result.
spring-cloud-alibaba-starters/spring-cloud-alibaba-sentinel-gateway/src/test/java/com/alibaba/cloud/sentinel/gateway/SentinelGatewayAutoConfigurationTest.java