);
but while running the test case, it gets failed and says Null pointer
Exception for the following line inside the method :
final HttpSession session = this.getHttpSession();
please suggest some solution to mock the same HttpSession.
Thanks in advance.
Regards,
Rupesh Chakole
--
You
Can anybody please suggest how to write unit test case on GWT server
side class methods and mainly how to mock up the session inside the
methods. I getting NullPointerException with the statment like :
final HttpSession session = this.getHttpSession();
- As I m not able create the Object of same