This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am developing an application using struts2 ,iBatis and JUnittesting 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.