24 March 2021
Capture incoming values to EasyMock
Imagine you have to mock a httpSession object, and you need to verify that some values are being added to the session attributes map during your method execution. Well, EasyMock has an interesting ExpectationSetter method that helps with