@Test
public void whenParameterPatternsAreGivenShouldMatchAccordingToGivenPatterns() throws Exception {

	ParametersControl control = new DefaultParametersControl("/any/{aParameter}/what",
			new ImmutableMap.Builder<String, String>().put("aParameter", "aaa\\d{3}bbb").build(), converters, evaluator);
	assertFalse(control.matches("/any/ICantPutAnythingInHere/what"));
	assertFalse(control.matches("/any/aaa12bbb/what"));
	assertTrue(control.matches("/any/aaa123bbb/what"));
}