@Before
public void setup() throws Exception {
MockitoAnnotations.initMocks(this);
Locale.setDefault(Locale.ENGLISH);
validatorFactory = javax.validation.Validation.buildDefaultValidatorFactory();
interpolator = new MessageInterpolatorFactory(validatorFactory).getInstance();
validator = new MockValidator();
withConstraint = instanceFor(MyController.class, getMethod("withConstraint",String.class));
withoutConstraint = instanceFor(MyController.class, getMethod("withoutConstraint",String.class));
withoutConstraintAndDomainObject = instanceFor(MyController.class, getMethod("withoutConstraintAndDomainObject",Example.class));
instance = new DefaultControllerInstance(new MyController());