@Test
public void registerParametersWithMultipleRegexes() throws SecurityException, NoSuchMethodException {

	DefaultParametersControl control = new DefaultParametersControl("/test/{hash1:[a-z0-9]{16}}{id}{hash2:[a-z0-9]{16}}/", Collections.singletonMap("id", "\\d+"), converters, evaluator);
	control.fillIntoRequest("/test/0123456789abcdef1234fedcba9876543210/", request);
	verify(request).setParameter("hash1", new String[] {"0123456789abcdef"});
	verify(request).setParameter("id", new String[] {"1234"});
	verify(request).setParameter("hash2", new String[] {"fedcba9876543210"});
}