CodeListInterceptor implements HandlerInterceptor,
                                 ApplicationContextAware, InitializingBean { @Override public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) throws Exception { if (codeLists == null) { return; } for (CodeList codeList : codeLists) { String attributeName = codeList.getCodeListId(); request.setAttribute(attributeName, codeList.asMap()); } }  @Override void postHandle(HttpServletRequest request,
            HttpServletResponse response, Object handler,
            ModelAndView modelAndView); @Override void afterPropertiesSet(); @Override void setApplicationContext(ApplicationContext applicationContext); void setCodeListIdPattern(Pattern codeListIdPattern);  }
@Test public void testPostHandle_not_call_afterPropertiesSet() throws Exception { testTarget.postHandle(mockRequest, mockResponse, null, null); assertThat(mockRequest.getAttributeNames().hasMoreElements(), is( false)); }