Mockito.doThrow(Exception.class).when(service).getEmployeeById(Mockito.any());
Last updated 5 years ago
Was this helpful?