@Test
public void shouldBeOkIfThereIsValidationErrorsAndYouSpecifiedWhereToGo() throws SecurityException,
		NoSuchMethodException, InterceptionException, IOException {

	Method specifiedWhereToGo = AnyController.class.getMethod("specifiedWhereToGo");
	ResourceMethod method = DefaultResourceMethod.instanceFor(AnyController.class, specifiedWhereToGo);
	AnyController controller = new AnyController(validator);
	
	when(info.getParameters()).thenReturn(new Object[0]);
	doThrow(new ValidationException(Collections.<Message> emptyList())).when(validator).onErrorUse(nothing());
	when(validator.hasErrors()).thenReturn(true);
			
	interceptor.intercept(stack, method, controller);
}