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