As mentioned before you can not mock static methods with mockito. If changing your testing framework is not an ... Example (extracted from their tests):
確定! 回上一頁