@Override
    @JsonIgnore
    public JobTriggerData toJobTriggerData(EventDto dto) {
        return EventNotificationExecutionJob.Data.builder().eventDto(dto).build();
    }
@Test
    public void toJobTriggerData() {

        final DateTime now = DateTime.parse("2019-01-01T00:00:00.000Z");
        final ImmutableList<String> keyTuple = ImmutableList.of("a", "b");

        final EventDto eventDto = EventDto.builder()
                .id("01DF119QKMPCR5VWBXS8783799")
                .eventDefinitionType("aggregation-v1")
                .eventDefinitionId("54e3deadbeefdeadbeefaffe")
                .originContext("urn:graylog:message:es:graylog_0:199a616d-4d48-4155-b4fc-339b1c3129b2")
                .eventTimestamp(now)
                .processingTimestamp(now)
                .streams(ImmutableSet.of("000000000000000000000002"))
                .sourceStreams(ImmutableSet.of("000000000000000000000001"))
                .message("Test message")
                .source("source")
                .keyTuple(keyTuple)
                .key(String.join("|", keyTuple))
                .priority(4)
                .alert(false)
                .fields(ImmutableMap.of("hello", "world"))
                .build();

        final SlackEventNotificationConfig slackEventNotificationConfig = SlackEventNotificationConfig.builder().build();
        EventNotificationExecutionJob.Data data = (EventNotificationExecutionJob.Data) slackEventNotificationConfig.toJobTriggerData(eventDto);
        assertThat(data.type()).isEqualTo(EventNotificationExecutionJob.TYPE_NAME);
        assertThat(data.eventDto().processingTimestamp()).isEqualTo(now);

    }