Also, by assigning @InjectMocks to the instance of the class to be tested, ... --There is also an initialization method using mock (XX.class) , spy (new XX ...
確定! 回上一頁