@Test
public void the_message_list_contains_all_global_messages() {

    final FacesMessage message = new FacesMessage(SEVERITY_INFO, "", "");
    prepareExpectedMessages(singletonList(message));
    List<FacesMessage> facesMessages = new BootstrappedMessages().getFacesMessages();
    assertThat(facesMessages).isEqualTo(singletonList(message));
}