Short answer you can't. Here from the FAQ: What are the limitations of Mockito. Cannot mock final classes; Cannot mock static methods ...
確定! 回上一頁