@Test
public void shouldUseConverterIfItExists() {

	when(converters.existsTwoWayFor(Client.class)).thenReturn(true);
	when(converters.twoWayConverterFor(Client.class)).thenReturn(converter);
	when(converter.convert(any(Client.class))).thenReturn("john");
	String uri = new DefaultParametersControl("/clients/{client}", converters, evaluator).fillUri(new String[] {"client"}, client(null));
	assertThat(uri, is(equalTo("/clients/john")));
}