I have mocked one object and trying to mock one method which takes enum type value as a parameter but i am not able to pass the value of type enum with jmock. Below is the code snipet from test class.
where method findByMappedId takes enum MasterDataStatus in the last parameter.
When i run this test i am getting below error message.
Can anybody help me on this ?
(Edited by Moderator -- Please see your private messages for an important reminder)