@Test
public void testUploadQuestionGroup_ValidateForInvalidCountry() {

    when(requestContext.getMessageContext()).thenReturn(messageContext);
    UploadQuestionGroupForm form = new UploadQuestionGroupForm();
    form.setSelectedCountry(QuestionnaireConstants.SELECT_ONE);
    String result = controller.upload(form, requestContext);
    assertThat(result, is("failure"));
    verify(requestContext).getMessageContext();
    verify(messageContext).addMessage(argThat(new MessageMatcher("questionnaire.error.ppi.country")));
}