@Test
    public void testMatch() {
        assertTrue(generator.match("en|10-12"));
        assertFalse(generator.match("en"));
        assertFalse(generator.match("en|"));
        assertFalse(generator.match("en|10.1-12.1"));
        assertFalse(generator.match("en|10"));
        assertFalse(generator.match("en|-10"));
    }
The test case for {@link EnStringGenerator}.
shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/EnStringGeneratorTest.java