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