@Test public final void test_save() { AccountCodePurpose expextedResult = getAccountCodePurposes().get(0); when(accountCodePurposeRepository.save(any(AccountCodePurpose.class))).thenReturn(expextedResult); AccountCodePurpose actualResult = accountCodePurposeService.save(getAccountCodePurposes().get(0)); assertEquals(expextedResult, actualResult); }
@Transactional public AccountCodePurpose save(AccountCodePurpose accountCodePurpose) { return accountCodePurposeRepository.save(accountCodePurpose); }
AccountCodePurposeService { @Transactional public AccountCodePurpose save(AccountCodePurpose accountCodePurpose) { return accountCodePurposeRepository.save(accountCodePurpose); } }
AccountCodePurposeService { @Transactional public AccountCodePurpose save(AccountCodePurpose accountCodePurpose) { return accountCodePurposeRepository.save(accountCodePurpose); }  }
AccountCodePurposeService { @Transactional public AccountCodePurpose save(AccountCodePurpose accountCodePurpose) { return accountCodePurposeRepository.save(accountCodePurpose); }  @Transactional List<AccountCodePurpose> create(List<AccountCodePurpose> accountCodePurposes, BindingResult errors,
			RequestInfo requestInfo); @Transactional List<AccountCodePurpose> update(List<AccountCodePurpose> accountCodePurposes, BindingResult errors,
			RequestInfo requestInfo); List<AccountCodePurpose> fetchRelated(List<AccountCodePurpose> accountcodepurposes); @Transactional List<AccountCodePurpose> add(List<AccountCodePurpose> accountcodepurposes, BindingResult errors); @Transactional List<AccountCodePurpose> update(List<AccountCodePurpose> accountcodepurposes, BindingResult errors); void addToQue(AccountCodePurposeRequest request); Pagination<AccountCodePurpose> search(AccountCodePurposeSearch accountCodePurposeSearch,
			BindingResult errors); @Transactional AccountCodePurpose save(AccountCodePurpose accountCodePurpose); @Transactional AccountCodePurpose update(AccountCodePurpose accountCodePurpose); }
AccountCodePurposeService { @Transactional public AccountCodePurpose save(AccountCodePurpose accountCodePurpose) { return accountCodePurposeRepository.save(accountCodePurpose); }  @Transactional List<AccountCodePurpose> create(List<AccountCodePurpose> accountCodePurposes, BindingResult errors,
			RequestInfo requestInfo); @Transactional List<AccountCodePurpose> update(List<AccountCodePurpose> accountCodePurposes, BindingResult errors,
			RequestInfo requestInfo); List<AccountCodePurpose> fetchRelated(List<AccountCodePurpose> accountcodepurposes); @Transactional List<AccountCodePurpose> add(List<AccountCodePurpose> accountcodepurposes, BindingResult errors); @Transactional List<AccountCodePurpose> update(List<AccountCodePurpose> accountcodepurposes, BindingResult errors); void addToQue(AccountCodePurposeRequest request); Pagination<AccountCodePurpose> search(AccountCodePurposeSearch accountCodePurposeSearch,
			BindingResult errors); @Transactional AccountCodePurpose save(AccountCodePurpose accountCodePurpose); @Transactional AccountCodePurpose update(AccountCodePurpose accountCodePurpose);  }