title: Spring MVC Controllers Unit Test not calling @ControllerAdvice
body: <p>I have a set of Controllers in the application and a class annotated as <code>@ControllerAdvice</code> which sets up certain data elements that are used in each of these controllers. I'm using <code>Spring MVC 3.2</code> and have Junits for these controllers. When I run the Junit the control is not going to the <code>ControllerAdvice</code> class wheres it works fine if I deploy the app in <code>Tomcat</code> and submit a request through browser. </p>
  
  <p>Any thoughts please?.</p>