@Test
public void shouldGetAllQgEventSources() {

    when(questionnaireServiceFacade.getAllEventSources()).thenReturn(asList(new EventSourceDto("Create", "Client", "Create Client"), new EventSourceDto("View", "Client", "View Client")));
    Map<String, String> eventSources = questionGroupController.getAllQgEventSources();
    verify(questionnaireServiceFacade).getAllEventSources();
    assertThat(eventSources.get("Create.Client"), Is.is("Create Client"));
    assertThat(eventSources.get("View.Client"), Is.is("View Client"));
}