有效构造: @InjectMocks SomeClass sc = mock(SomeClass.class); 无效构造: @InjectMocks @Mock SomeClass sc; 我想将模拟注入(inject)另一个模拟。我只想使用注释样式 ...
確定! 回上一頁