@Test
void bulkIndex() {

    List<EventMessage> messages = Lists.newArrayList();
    for (int i = 0; i < 6; i++) {
        messages.add(message("bulk-" + i));
    }
    var now = LocalDate.of(2019, Month.MARCH, 19);
    eventService.index(messages, now);
    EventDocument event = eventDocument(now, messages.get(0).id);
    assertThat(event.context).isEqualTo(messages.get(0).context);
}