What is method equivalent for the following: @Mock MyType1 myType1; @Autowired @InjectMocks MyType2 myType2;. I can replace @Mock with mock(MyType1.class) .
確定! 回上一頁