Environment:
SPRING
JUNIT 4.4
EasyMock 2.2
EasyMockClassExtension 2.2
Setup:
Controller to be tested:
The junit I have tried for
testing the above controller:
Issue :
The "statusBean.getGroupsAsMap().values()" gives error while trying to fetch the real values, i.e. EasyMock is not mocking this. The class StatusBean does not have any corresponding Interface.
Any pointers would be highly appreciated.
Thanks
GT