@Test
    public void testMatch() {
        assertTrue(arrayGenerator.match("array|111|2"));
        assertTrue(arrayGenerator.match("array|${int|10-20}|2"));
        assertFalse(arrayGenerator.match("array|10|a"));
        assertFalse(arrayGenerator.match("array|10|"));
    }
The test case for {@link ArrayGenerator}.
shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/ArrayGeneratorTest.java