@Test
    public void generate() {
        int min = 10;
        int max = 15;
        Integer generate = generator.generate(String.format("int|%d-%d", min, max), null);
        assertTrue(Objects.nonNull(generate) && generate >= min && generate <= max);
    }
The test case for {@link RandomIntGenerator}.
shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/RandomIntGeneratorTest.java