I am new to unit test. I am trying to create test case of a method which is calling an static method. For this static method I am getting "getting missing behaviour definition for the preceding method call:"
Asked
Active
Viewed 112 times
-1
-
Please provide code or something so people can help. – Mansur Jul 16 '19 at 10:02
-
Yes. Please provide some code to get a full answer. – Henri Jul 17 '19 at 05:32
1 Answers
0
EasyMock can't mock static methods. So that's probably the problem. But having actual failing code will help providing a full answer.

Henri
- 5,551
- 1
- 22
- 29