Hi All,
I am developing an application using struts2 ,iBatis and
JUnit testing tool . I am able to test Service class and dao class using JMock i.e by mocking the nonessential classes but in Action I've used session objects. how do I mock these session objects??
Please help me. If possible then please give me the code abstract of testing Action Class.