EasyMock cannot mock static methods. But ...you can use PowerMock which cooperates quite nicely with EasyMock. PowerMock has the ability to mock all kinds ...
確定! 回上一頁