@Test public void test_bankbranch_service_should_call_queue_repository_to_push_the_request() { BankBranchContractRequest bankBranchContractRequest = new BankBranchContractRequest(); bankBranchService.push(bankBranchContractRequest); verify(bankBranchQueueRepository).push(bankBranchContractRequest); }
public void push(final BankBranchContractRequest bankBranchContractRequest) { bankBranchQueueRepository.push(bankBranchContractRequest); }
BankBranchService { public void push(final BankBranchContractRequest bankBranchContractRequest) { bankBranchQueueRepository.push(bankBranchContractRequest); } }
BankBranchService { public void push(final BankBranchContractRequest bankBranchContractRequest) { bankBranchQueueRepository.push(bankBranchContractRequest); } @Autowired  BankBranchService(final BankBranchRepository bankBranchRepository,
			BankBranchQueueRepository bankBranchQueueRepository,BankService bankService,SmartValidator validator); }
BankBranchService { public void push(final BankBranchContractRequest bankBranchContractRequest) { bankBranchQueueRepository.push(bankBranchContractRequest); } @Autowired  BankBranchService(final BankBranchRepository bankBranchRepository,
			BankBranchQueueRepository bankBranchQueueRepository,BankService bankService,SmartValidator validator); void push(final BankBranchContractRequest bankBranchContractRequest); @Transactional BankBranchContractResponse create(HashMap<String, Object> financialContractRequestMap); @Transactional BankBranchContractResponse update(HashMap<String, Object> financialContractRequestMap); List<BankBranchContract> getBankBranches(BankBranchGetRequest bankBranchGetRequest); BindingResult validate(BankBranchContractRequest bankBranchContractRequest, String method,
			BindingResult errors); BankBranchContractRequest fetchRelatedContracts(BankBranchContractRequest bankBranchContractRequest); }
BankBranchService { public void push(final BankBranchContractRequest bankBranchContractRequest) { bankBranchQueueRepository.push(bankBranchContractRequest); } @Autowired  BankBranchService(final BankBranchRepository bankBranchRepository,
			BankBranchQueueRepository bankBranchQueueRepository,BankService bankService,SmartValidator validator); void push(final BankBranchContractRequest bankBranchContractRequest); @Transactional BankBranchContractResponse create(HashMap<String, Object> financialContractRequestMap); @Transactional BankBranchContractResponse update(HashMap<String, Object> financialContractRequestMap); List<BankBranchContract> getBankBranches(BankBranchGetRequest bankBranchGetRequest); BindingResult validate(BankBranchContractRequest bankBranchContractRequest, String method,
			BindingResult errors); BankBranchContractRequest fetchRelatedContracts(BankBranchContractRequest bankBranchContractRequest);  }