Closed aamesaa closed 7 years ago
Unit Testing : @InjectMocks --> for service that you want to test (implementation) example : @InjectMocks private EmployeeServiceImpl employeeService;
@Mock --> for create mock up (interface) example : @Mock private EmployeeHistoryService employeeHistoryService;
further example attached
@kabal86 How to do all above?