@Test
void handle() {

    List<Message<StatMessage>> messages = List.of(new Message<>("k1", new StatMessage()), new Message<>("k1", new StatMessage()));
    handler.handle(messages);
    verify(statService).index(argThat((List<StatMessage> values) -> values.size() == 2));
}