You need to put the class where the constructor is called into the @PrepareForTest annotation instead of the class which is being constructed - see Mock ...
確定! 回上一頁