To mock a static method, you have to create a mockStatic of the class with the static method, and declare the event you want to apply to your mock. example.
確定! 回上一頁