CreateUserRequest bindObject = BeanUtils.instantiateClass(CreateUserRequest.class);
ServletRequestDataBinder dataBinder = new ServletRequestDataBinder(bindObject, "bindObject");
dataBinder.setConversionService(conversionService);
dataBinder.setValidator(getValidator());
dataBinder.bind(request);
dataBinder.validate();
assertTrue(dataBinder.getBindingResult().hasErrors());
assertEquals(dataBinder.getBindingResult().getErrorCount(), 2);
CreateUserRequest createUserRequest = (CreateUserRequest) dataBinder.getBindingResult().getTarget();
assertNotNull(createUserRequest.getAddress());