This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi all, I'm beating myself senseless trying to get my JUnit fired off that's using MockObjects, but after I set attributes in my session I can't retrieve them, I keeep getting an error saying that it can't find my FPASession (the object that I want to retrieve from the session).
So here's the code that I'm using (the line that fails is in bold):
MockHttpServletRequest mockRequest = new MockHttpServletRequest();
FPASession fpaSession = new FPASession();
MockHttpSession mockSession = new MockHttpSession();