@Test
    void testGenerate() {
        String phone = generator.generate("phone", null);
        assertThat(phone, matchesRegex("^1[3-9]\\d{9}$"));
    }
The test case for {@link PhoneGenerator }.

@date 2022/6/20 14:48
shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/PhoneGeneratorTest.java