Skip to Content
0
Former Member
Feb 28, 2018 at 12:14 PM

mocking enum in junit issue

3634 Views

Hello,

I am facing an issue in junit testing when i try to set an enum value to model. I am trying to write unit test for a custom populator. Its throwing nosuchmethodfound exception when i try to set enum to the source. What could be the issue ? I tried various approaches. No luck. Any inputs will be useful.

Cheers, Shen