public static String dealRule(final String content, final MockRequest mockRequest) {
        String afterDeal = content;
        String placeHolder = getPlaceholder(content);
        while (placeHolder != null) {
            Object generateData = generate(placeHolder, mockRequest);
            if (Objects.equals(generateData, placeHolder)) {
                generateData = ERROR_PARSE;
            }
            String toString = String.valueOf(generateData);
            placeHolder = placeHolder.replaceAll("([$|{}()\\]\\[])", "\\\\$1");
            afterDeal = afterDeal.replaceFirst(placeHolder, toString);
            placeHolder = getPlaceholder(afterDeal);
        }
        return afterDeal;
    }
@Test
    public void testDealRule() {
        String dealedContent = GeneratorFactory.dealRule("${phone}", null);
        assertThat(dealedContent, matchesRegex("^\"1[3-9]\\d{9}\"$"));
    }