When we want to create a mock object of the class under test with the other mocked dependencies, we can use @InjectMocks annotation.
確定! 回上一頁