@Test public final void test_save() { AccountDetailKey expextedResult = getAccountDetailKeys().get(0); when(accountDetailKeyRepository.save(any(AccountDetailKey.class))).thenReturn(expextedResult); AccountDetailKey actualResult = accountDetailKeyService.save(getAccountDetailKeys().get(0)); assertEquals(expextedResult, actualResult); }
@Transactional public AccountDetailKey save(AccountDetailKey accountDetailKey) { return accountDetailKeyRepository.save(accountDetailKey); }
AccountDetailKeyService { @Transactional public AccountDetailKey save(AccountDetailKey accountDetailKey) { return accountDetailKeyRepository.save(accountDetailKey); } }
AccountDetailKeyService { @Transactional public AccountDetailKey save(AccountDetailKey accountDetailKey) { return accountDetailKeyRepository.save(accountDetailKey); }  }
AccountDetailKeyService { @Transactional public AccountDetailKey save(AccountDetailKey accountDetailKey) { return accountDetailKeyRepository.save(accountDetailKey); }  @Transactional List<AccountDetailKey> create(List<AccountDetailKey> accountDetailKies, BindingResult errors,
			RequestInfo requestInfo); @Transactional List<AccountDetailKey> update(List<AccountDetailKey> accountDetailKies, BindingResult errors,
			RequestInfo requestInfo); List<AccountDetailKey> fetchRelated(List<AccountDetailKey> accountdetailkeys); @Transactional List<AccountDetailKey> add(List<AccountDetailKey> accountdetailkeys, BindingResult errors); @Transactional List<AccountDetailKey> update(List<AccountDetailKey> accountdetailkeys, BindingResult errors); void addToQue(AccountDetailKeyRequest request); Pagination<AccountDetailKey> search(AccountDetailKeySearch accountDetailKeySearch, BindingResult errors); @Transactional AccountDetailKey save(AccountDetailKey accountDetailKey); @Transactional AccountDetailKey update(AccountDetailKey accountDetailKey); }
AccountDetailKeyService { @Transactional public AccountDetailKey save(AccountDetailKey accountDetailKey) { return accountDetailKeyRepository.save(accountDetailKey); }  @Transactional List<AccountDetailKey> create(List<AccountDetailKey> accountDetailKies, BindingResult errors,
			RequestInfo requestInfo); @Transactional List<AccountDetailKey> update(List<AccountDetailKey> accountDetailKies, BindingResult errors,
			RequestInfo requestInfo); List<AccountDetailKey> fetchRelated(List<AccountDetailKey> accountdetailkeys); @Transactional List<AccountDetailKey> add(List<AccountDetailKey> accountdetailkeys, BindingResult errors); @Transactional List<AccountDetailKey> update(List<AccountDetailKey> accountdetailkeys, BindingResult errors); void addToQue(AccountDetailKeyRequest request); Pagination<AccountDetailKey> search(AccountDetailKeySearch accountDetailKeySearch, BindingResult errors); @Transactional AccountDetailKey save(AccountDetailKey accountDetailKey); @Transactional AccountDetailKey update(AccountDetailKey accountDetailKey);  }