@@ -0,0 +1,1597 @@
+package org.synyx.urlaubsverwaltung.settings;%0A%0Aimport org.junit.jupiter.api.Test;%0Aimport org.synyx.urlaubsverwaltung.application.vacationtype.VacationType;%0A%0Aimport java.util.List;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0Aimport static org.assertj.core.groups.Tuple.tuple;%0Aimport static org.synyx.urlaubsverwaltung.application.vacationtype.VacationCategory.HOLIDAY;%0Aimport static org.synyx.urlaubsverwaltung.settings.AbsenceTypeSettingsDtoMapper.mapToAbsenceTypeItemSettingDto;%0A%0Aclass AbsenceTypeSettingsDtoMapperTest %7B%0A%0A    @Test%0A    void mapToAbsenceTypeItemSettingDtoTest() %7B%0A%0A        final VacationType vacationType = new VacationType();%0A        vacationType.setColor(%22#123456%22);%0A        vacationType.setId(42);%0A        vacationType.setActive(true);%0A        vacationType.setRequiresApproval(false);%0A        vacationType.setMessageKey(%22messageKey%22);%0A        vacationType.setCategory(HOLIDAY);%0A%0A        List%3CVacationType%3E vacationTypes = List.of(vacationType);%0A        final AbsenceTypeSettingsDto absenceTypeSettingsDto = mapToAbsenceTypeItemSettingDto(vacationTypes);%0A%0A        assertThat(absenceTypeSettingsDto.getItems())%0A            .extracting(%0A                AbsenceTypeSettingsItemDto::getColor,%0A                AbsenceTypeSettingsItemDto::getId,%0A                AbsenceTypeSettingsItemDto::isActive,%0A                AbsenceTypeSettingsItemDto::isRequiresApproval,%0A                AbsenceTypeSettingsItemDto::getMessageKey,%0A                AbsenceTypeSettingsItemDto::getCategory)%0A            .contains(tuple(%22#123456%22, 42, true, false, %22messageKey%22, HOLIDAY));%0A    %7D%0A%7D%0A

add test for AbsenceTypeSettingsDtoMapper