title: Spring Test session scope bean using Junit
body: <p>I have a session scoped bean which holds user data per http session. I would like to write a Junit test case to test the session scoped bean. I would like to write the test case such that it can prove that the beans are getting created per session.
  Any pointer as how to write such Junit test case?</p>