@Test
public void shouldMatchPatternLazily() throws Exception {

	DefaultParametersControl wrong = new DefaultParametersControl("/clients/{client.id}/", converters, evaluator);
	DefaultParametersControl right = new DefaultParametersControl("/clients/{client.id}/subtask/", converters, evaluator);
	String uri = "/clients/3/subtask/";
	assertThat(wrong.matches(uri), is(false));
	assertThat(right.matches(uri), is(true));
}