public void testShouldGetMatchingChecksByRegexCharacterNamePattern() {
Set<String> locations = createStubChecksForPatternMatching();
Response response = get(checks().withParam("fields", "name").withParam("regexes", "patternName\\d"));
assertThat(response, hasStatusCode(200));
JsonNode responseJson = response.asJson();
assertThat(responseJson, hasJsonPath("$.values", hasSize(2)));
cleanupChecks(locations);
}