We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@Mock: 创建一个Mock. @InjectMocks: 创建一个实例,其余用@Mock(或@Spy)注解创建的mock将被注入到用该实例中。必须使用@RunWith(MockitoJUnitRunner.class) 或 Mockito.initMocks(this)进行mocks的初始化和注入。
There was an error while loading. Please reload this page.