@Test
public void shouldInitBinderForComplexType() throws Exception {
Map<String, Object> source = new HashMap<String, Object>();
source.put("x", new ComplexType(1, 2L));
setHandlerMethod("requestParamComplexType");
WebBindingInitializer webBindingInitializer = mock(WebBindingInitializer.class);
given(this.context.getWebBindingInitializer()).willReturn(webBindingInitializer);
this.builder.build(this.nativeRequest, source);
verify(webBindingInitializer).initBinder(any(WebDataBinder.class), any(WebRequest.class));
}