title: How to unit test spring mvc interceptors without controller class
body: <p>I am trying to write a unit test for one of the interceptors in my spring-mvc rest application. I am using:</p>
  
  <pre>
  - TestNG 6.8.7
  - Mockito 1.9.5
  - Spring 4.0.0
  </pre>
  
  <p>Is it mandatory to have controllers to unit test the interceptors? Can we write a unit test without writing controller?</p>
  
  <p>Thanks,NN</p>