String replaceMatchesWithGroups(String name) {
        return replaceMatchWith(name, replacement);
    }
@Test
    void replacesMatchWithoutEscapedNumberClass() {
        assertThat(argumentPattern.replaceMatchesWithGroups("1"), is(equalTo("(\\d)")));
    }