@Test
    public void testGenerate() {
        int max = 10;
        int min = 5;
        String enString = generator.generate("en|" + min + "-" + max, null);
        assertTrue(enString.matches("[a-zA-Z]{" + min + "," + max + "}"));
    }
The test case for {@link EnStringGenerator}.
shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/EnStringGeneratorTest.java