package org.synyx.urlaubsverwaltung.workingtime;

import org.junit.jupiter.api.Test;
import org.synyx.urlaubsverwaltung.period.DayLength;

import static org.assertj.core.api.Assertions.assertThat;

class WorkingTimeSettingsTest {

    @Test
    void ensureDefaultValues() {

        final WorkingTimeSettings settings = new WorkingTimeSettings();
        assertThat(settings.getWorkingDurationForChristmasEve()).isEqualTo(DayLength.MORNING);
        assertThat(settings.getWorkingDurationForNewYearsEve()).isEqualTo(DayLength.MORNING);
        assertThat(settings.getFederalState()).isEqualTo(FederalState.BADEN_WUERTTEMBERG);
    }
}

@@ -82,59 +82,30 @@
 st;%0A
+%0A
 import 
-org.synyx.urlaubsverwaltung.period.DayLength
+java.util.List
 ;%0A%0Ai
@@ -160,16 +160,214 @@
 ertThat;
+%0Aimport static org.synyx.urlaubsverwaltung.period.DayLength.FULL;%0Aimport static org.synyx.urlaubsverwaltung.period.DayLength.MORNING;%0Aimport static org.synyx.urlaubsverwaltung.period.DayLength.ZERO;
 %0A%0Aclass 
@@ -580,34 +580,24 @@
 ).isEqualTo(
-DayLength.
 MORNING);%0A  
@@ -668,26 +668,16 @@
 EqualTo(
-DayLength.
 MORNING)
@@ -713,65 +713,655 @@
 .get
-FederalState()).isEqualTo(FederalState.BADEN_WUERTTEMBERG
+Monday()).isEqualTo(FULL);%0A        assertThat(settings.getTuesday()).isEqualTo(FULL);%0A        assertThat(settings.getWednesday()).isEqualTo(FULL);%0A        assertThat(settings.getThursday()).isEqualTo(FULL);%0A        assertThat(settings.getFriday()).isEqualTo(FULL);%0A        assertThat(settings.getSaturday()).isEqualTo(ZERO);%0A        assertThat(settings.getSunday()).isEqualTo(ZERO);%0A    %7D%0A%0A    @Test%0A    void setWorkingDays() %7B%0A        final WorkingTimeSettings settings = new WorkingTimeSettings();%0A        settings.setWorkingDays(List.of(1, 2, 3, 4, 5, 6, 7));%0A        assertThat(settings.getWorkingDays()).isEqualTo(List.of(1, 2, 3, 4, 5, 6, 7)
 );%0A 

Add further WorkingTimeSettingsTest