* Tests that no memory leak exists on invalid sessions: expired or stopped
* Verifies <a href="https://issues.apache.org/jira/browse/SHIRO-399">SHIRO-399</a>.
*/
@Test
public void testNoMemoryLeakOnInvalidSessions() throws Exception {
SessionListener sessionListener = new SessionListener() {
public void onStart(Session session) {
session.setAttribute("I love", "Romania");
}
public void onStop(Session session) {