Announcement Announcement Module
Collapse
No announcement yet.
Assembly testing chained interceptors on controllers Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Assembly testing chained interceptors on controllers

    I have a couple HandlerInterceptors and they are easy enough to test in isolation with the Spring mock stuff. What I'd like to do now is test them all together wired up the way the ApplicationContext will wire them up. Is there an easy way to do this? I'm trying to verify that given certain HttpServletRequests that my chained interceptors do the right thing. I'm not trying to verify the internal spring ordering of these interceptors.

    Thanks

  • #2
    Try the org.springframework.test package, shipped in spring-mock.jar.

    Comment

    Working...
    X