@Test
void indexWithDifferentDateFormatValues() {

    ActionLogMessage message = message("1", "OK");
    // instant.toString() outputs without nano fraction if nano is 0, refer to java.time.format.DateTimeFormatter.ISO_INSTANT
    message.date = ZonedDateTime.now().withNano(0).toInstant();
    actionService.index(List.of(message));
    message.date = ZonedDateTime.now().withNano(123456).toInstant();
    actionService.index(List.of(message));
}