### Question:
ViewIdConstraintHandlerInterceptor extends	HandlerInterceptorAdapter { @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { if (handler instanceof HandlerMethod) { constraintCheck(request, (HandlerMethod)handler); } return true; } ViewIdConstraintHandlerInterceptor(); @Override boolean preHandle(HttpServletRequest request,
            HttpServletResponse response,
            Object handler);  }### Answer:
@Test(expected = InternalException.class) public void 画面IDが設定されていない画面からの遷移で画面ID制約がチェックできない() throws Exception { HandlerMethod handler = new HandlerMethod(TestController.class, TestController.class.getMethod("handler2")); ViewIdConstraintHandlerInterceptor interceptor = new ViewIdConstraintHandlerInterceptor(); interceptor.preHandle(request, response, handler); }