@Override
    public EventNotificationConfigEntity toContentPackEntity(EntityDescriptorIds entityDescriptorIds) {
        return SlackEventNotificationConfigEntity.builder()
                .color(ValueReference.of(color()))
                .webhookUrl(ValueReference.of(webhookUrl()))
                .channel(ValueReference.of(channel()))
                .customMessage(ValueReference.of(customMessage()))
                .userName(ValueReference.of(userName()))
                .notifyChannel(ValueReference.of(notifyChannel()))
                .linkNames(ValueReference.of(linkNames()))
                .iconUrl(ValueReference.of(iconUrl()))
                .iconEmoji(ValueReference.of(iconEmoji()))
                .timeZone(ValueReference.of(timeZone().getID()))
                .notifyHere(ValueReference.of(notifyHere()))
                .build();
    }
@Test(expected = NullPointerException.class)
    public void toContentPackEntity() {
        final SlackEventNotificationConfig slackEventNotificationConfig = SlackEventNotificationConfig.builder().build();
        slackEventNotificationConfig.toContentPackEntity(EntityDescriptorIds.empty());
    }