@Test public void testCreate() throws JsonProcessingException { doNothing().when(nomineeRepository).save(anyListOf(Nominee.class)); nomineeService.create(seedHelper.getNomineeRequest()); verify(nomineeRepository).save(anyListOf(Nominee.class)); }
@Transactional public void create(NomineeRequest nomineeRequest) { List<Nominee> nominees = nomineeRequest.getNominees(); nomineeRepository.save(nominees); }
NomineeService { @Transactional public void create(NomineeRequest nomineeRequest) { List<Nominee> nominees = nomineeRequest.getNominees(); nomineeRepository.save(nominees); } }
NomineeService { @Transactional public void create(NomineeRequest nomineeRequest) { List<Nominee> nominees = nomineeRequest.getNominees(); nomineeRepository.save(nominees); }  }
NomineeService { @Transactional public void create(NomineeRequest nomineeRequest) { List<Nominee> nominees = nomineeRequest.getNominees(); nomineeRepository.save(nominees); }  List<Nominee> getNominees(NomineeGetRequest nomineeGetRequest, RequestInfo requestInfo); List<Nominee> createAsync(NomineeRequest nomineeRequest); @Transactional void create(NomineeRequest nomineeRequest); List<Nominee> updateAsync(NomineeRequest nomineeRequest); @Transactional void update(NomineeRequest nomineeRequest); }
NomineeService { @Transactional public void create(NomineeRequest nomineeRequest) { List<Nominee> nominees = nomineeRequest.getNominees(); nomineeRepository.save(nominees); }  List<Nominee> getNominees(NomineeGetRequest nomineeGetRequest, RequestInfo requestInfo); List<Nominee> createAsync(NomineeRequest nomineeRequest); @Transactional void create(NomineeRequest nomineeRequest); List<Nominee> updateAsync(NomineeRequest nomineeRequest); @Transactional void update(NomineeRequest nomineeRequest);  }