Listing 15.5 Using annotations for mock dependencies Use the @Mock annotation to create a mock object and inject it into the test class's annotated field.
確定! 回上一頁