@SuppressWarnings("unchecked") @Test public void testLoadQuestionGroupsFormBeanInvoked() { controller.loadQuestionGroups(formBean); verify(formBean).setQuestionGroups(any(List.class)); }
public void loadQuestionGroups(CreateSavingsAccountFormBean formBean) { List<QuestionGroupDetail> questionGroups = questionnaireServiceFacade.getQuestionGroups("Create", "Savings"); formBean.setQuestionGroups(questionGroups); }
CreateSavingsAccountController { public void loadQuestionGroups(CreateSavingsAccountFormBean formBean) { List<QuestionGroupDetail> questionGroups = questionnaireServiceFacade.getQuestionGroups("Create", "Savings"); formBean.setQuestionGroups(questionGroups); } }
CreateSavingsAccountController { public void loadQuestionGroups(CreateSavingsAccountFormBean formBean) { List<QuestionGroupDetail> questionGroups = questionnaireServiceFacade.getQuestionGroups("Create", "Savings"); formBean.setQuestionGroups(questionGroups); } protected  CreateSavingsAccountController(); }
CreateSavingsAccountController { public void loadQuestionGroups(CreateSavingsAccountFormBean formBean) { List<QuestionGroupDetail> questionGroups = questionnaireServiceFacade.getQuestionGroups("Create", "Savings"); formBean.setQuestionGroups(questionGroups); } protected  CreateSavingsAccountController(); SavingsAccountDetailDto createAccountInActiveState(
            CreateSavingsAccountFormBean formBean); SavingsAccountDetailDto createAccountInPartialApplicationState(
            CreateSavingsAccountFormBean formBean); SavingsAccountDetailDto createAccountInPendingApprovalState(
            CreateSavingsAccountFormBean formBean); void customerSelected(Integer customerId, CreateSavingsAccountFormBean formBean); void loadQuestionGroups(CreateSavingsAccountFormBean formBean); void loadProduct(Integer productId,
            CreateSavingsAccountFormBean formBean); void getProductOfferings(CreateSavingsAccountFormBean formBean); CustomerSearchResultsDto searchCustomers(
            CreateSavingsAccountFormBean formBean); }
CreateSavingsAccountController { public void loadQuestionGroups(CreateSavingsAccountFormBean formBean) { List<QuestionGroupDetail> questionGroups = questionnaireServiceFacade.getQuestionGroups("Create", "Savings"); formBean.setQuestionGroups(questionGroups); } protected  CreateSavingsAccountController(); SavingsAccountDetailDto createAccountInActiveState(
            CreateSavingsAccountFormBean formBean); SavingsAccountDetailDto createAccountInPartialApplicationState(
            CreateSavingsAccountFormBean formBean); SavingsAccountDetailDto createAccountInPendingApprovalState(
            CreateSavingsAccountFormBean formBean); void customerSelected(Integer customerId, CreateSavingsAccountFormBean formBean); void loadQuestionGroups(CreateSavingsAccountFormBean formBean); void loadProduct(Integer productId,
            CreateSavingsAccountFormBean formBean); void getProductOfferings(CreateSavingsAccountFormBean formBean); CustomerSearchResultsDto searchCustomers(
            CreateSavingsAccountFormBean formBean);  }