### Question:
FacesHandlerInterceptor extends HandlerInterceptorAdapter implements ServletContextAware { public void setLifecycleId(String lifecycleId) { this.lifecycleAccessor.setLifecycleId(lifecycleId); }  void setServletContext(ServletContext servletContext); @Override boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler); @Override void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex); void setLifecycleId(String lifecycleId);  }### Answer:
@Test public void shouldDelegateSetLifecycleId() throws Exception { String lifecycleId = "id"; this.interceptor.setLifecycleId(lifecycleId); verify(this.lifecycleAccessor).setLifecycleId(lifecycleId); }