title: Test if Spring Scope is active
body: <p>How can I test if the Session scope is active in Spring? for example, at startup some classes need a User object which is Session scoped, than i return a mock User object.</p>
  
  <p>the bean in question is declared with aop:scoped-proxy.
  how can i test if the session scope is active?</p>