Map<PatternMatcher, List<IValidation>> urls = validations.getUrls();
assertEquals(2, urls.size());
// First url
List<IValidation> vals = urls.get(new DefaultPatternMatcher("a"));
assertEquals(1, vals.size());
// 1 custom rules
Validation val = (Validation) vals.get(0);
assertEquals("id1", val.getName());
assertFalse(val.isDefaultValidation());
// Second url
vals = urls.get(new DefaultPatternMatcher("b"));
assertEquals(8, vals.size());
// 2 custom rule + 6 default rules
val = (Validation) vals.get(0);
assertEquals("id2", val.getName());