InjectMocks 创建该类的实例,并将使用@Mock(或@Spy)注释创建的模拟注入该实例。 ... this will be injected into someManager //tests... }.
確定! 回上一頁