// 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());
val = (Validation) vals.get(1);
assertEquals("id3", val.getName());
val = (Validation) vals.get(2);
assertEquals("SQLInjection", val.getName());// first default rule
assertTrue(val.isDefaultValidation());
}