@Test public void testGetAllCountriesForPPI() { List<String> countries = asList("India", "China", "Canada"); when(questionnaireServiceFacade.getAllCountriesForPPI()).thenReturn(countries); assertThat(controller.getAllCountriesForPPI(), is(countries)); }
public List<String> getAllCountriesForPPI() { return questionnaireServiceFacade.getAllCountriesForPPI(); }
UploadQuestionGroupController extends QuestionnaireController { public List<String> getAllCountriesForPPI() { return questionnaireServiceFacade.getAllCountriesForPPI(); } }
UploadQuestionGroupController extends QuestionnaireController { public List<String> getAllCountriesForPPI() { return questionnaireServiceFacade.getAllCountriesForPPI(); } UploadQuestionGroupController();  UploadQuestionGroupController(QuestionnaireServiceFacade questionnaireServiceFacade); }
UploadQuestionGroupController extends QuestionnaireController { public List<String> getAllCountriesForPPI() { return questionnaireServiceFacade.getAllCountriesForPPI(); } UploadQuestionGroupController();  UploadQuestionGroupController(QuestionnaireServiceFacade questionnaireServiceFacade); List<String> getAllCountriesForPPI(); String upload(UploadQuestionGroupForm uploadQuestionGroupForm, RequestContext requestContext); }
UploadQuestionGroupController extends QuestionnaireController { public List<String> getAllCountriesForPPI() { return questionnaireServiceFacade.getAllCountriesForPPI(); } UploadQuestionGroupController();  UploadQuestionGroupController(QuestionnaireServiceFacade questionnaireServiceFacade); List<String> getAllCountriesForPPI(); String upload(UploadQuestionGroupForm uploadQuestionGroupForm, RequestContext requestContext);  }