jmock mocking a static method

前端 未结 3 1054
-上瘾入骨i
-上瘾入骨i 2020-12-04 01:27

I have a static method in my code that I would like somehow to mock.

I am using jmock.

One way I suppose I could do this is to have \"wrapper class\" around

3条回答
提交回复
热议问题