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

	Method didntSpecifyWhereToGo = AnyController.class.getMethod("didntSpecifyWhereToGo");
	final ResourceMethod method = DefaultResourceMethod.instanceFor(AnyController.class, didntSpecifyWhereToGo);
	final AnyController controller = new AnyController(validator);
	
	when(info.getParameters()).thenReturn(new Object[0]);
	when(validator.hasErrors()).thenReturn(true);
			
	try {
		interceptor.intercept(stack, method, controller);
		Assert.fail();
	} catch (InterceptionException e) {
		
	}
}