@Test public final void test_save() { final BudgetReAppropriation expextedResult = getBudgetReAppropriations().get(0); when(budgetReAppropriationRepository.save(any(BudgetReAppropriation.class))).thenReturn(expextedResult); final BudgetReAppropriation actualResult = budgetReAppropriationService.save(expextedResult); assertEquals(expextedResult, actualResult); }
@Transactional public BudgetReAppropriation save(final BudgetReAppropriation budgetReAppropriation) { return budgetReAppropriationRepository.save(budgetReAppropriation); }
BudgetReAppropriationService { @Transactional public BudgetReAppropriation save(final BudgetReAppropriation budgetReAppropriation) { return budgetReAppropriationRepository.save(budgetReAppropriation); } }
BudgetReAppropriationService { @Transactional public BudgetReAppropriation save(final BudgetReAppropriation budgetReAppropriation) { return budgetReAppropriationRepository.save(budgetReAppropriation); } @Autowired  BudgetReAppropriationService(final BudgetReAppropriationRepository budgetReAppropriationRepository,
            final SmartValidator validator, final BudgetDetailRepository budgetDetailRepository); }
BudgetReAppropriationService { @Transactional public BudgetReAppropriation save(final BudgetReAppropriation budgetReAppropriation) { return budgetReAppropriationRepository.save(budgetReAppropriation); } @Autowired  BudgetReAppropriationService(final BudgetReAppropriationRepository budgetReAppropriationRepository,
            final SmartValidator validator, final BudgetDetailRepository budgetDetailRepository); @Transactional List<BudgetReAppropriation> create(List<BudgetReAppropriation> budgetReAppropriations, final BindingResult errors,
            final RequestInfo requestInfo); @Transactional List<BudgetReAppropriation> update(List<BudgetReAppropriation> budgetReAppropriations, final BindingResult errors,
            final RequestInfo requestInfo); @Transactional List<BudgetReAppropriation> delete(List<BudgetReAppropriation> budgetReAppropriations, final BindingResult errors,
            final RequestInfo requestInfo); List<BudgetReAppropriation> fetchRelated(final List<BudgetReAppropriation> budgetreappropriations); Pagination<BudgetReAppropriation> search(final BudgetReAppropriationSearch budgetReAppropriationSearch); @Transactional BudgetReAppropriation save(final BudgetReAppropriation budgetReAppropriation); @Transactional BudgetReAppropriation update(final BudgetReAppropriation budgetReAppropriation); @Transactional BudgetReAppropriation delete(final BudgetReAppropriation budgetReAppropriation); }
BudgetReAppropriationService { @Transactional public BudgetReAppropriation save(final BudgetReAppropriation budgetReAppropriation) { return budgetReAppropriationRepository.save(budgetReAppropriation); } @Autowired  BudgetReAppropriationService(final BudgetReAppropriationRepository budgetReAppropriationRepository,
            final SmartValidator validator, final BudgetDetailRepository budgetDetailRepository); @Transactional List<BudgetReAppropriation> create(List<BudgetReAppropriation> budgetReAppropriations, final BindingResult errors,
            final RequestInfo requestInfo); @Transactional List<BudgetReAppropriation> update(List<BudgetReAppropriation> budgetReAppropriations, final BindingResult errors,
            final RequestInfo requestInfo); @Transactional List<BudgetReAppropriation> delete(List<BudgetReAppropriation> budgetReAppropriations, final BindingResult errors,
            final RequestInfo requestInfo); List<BudgetReAppropriation> fetchRelated(final List<BudgetReAppropriation> budgetreappropriations); Pagination<BudgetReAppropriation> search(final BudgetReAppropriationSearch budgetReAppropriationSearch); @Transactional BudgetReAppropriation save(final BudgetReAppropriation budgetReAppropriation); @Transactional BudgetReAppropriation update(final BudgetReAppropriation budgetReAppropriation); @Transactional BudgetReAppropriation delete(final BudgetReAppropriation budgetReAppropriation); static final String ACTION_CREATE; static final String ACTION_UPDATE; static final String ACTION_DELETE; static final String ACTION_VIEW; static final String ACTION_EDIT; static final String ACTION_SEARCH; }