@@ -0,0 +1,1271 @@
+package org.synyx.urlaubsverwaltung.web;%0A%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.junit.MockitoJUnitRunner;%0Aimport org.springframework.boot.web.servlet.error.ErrorAttributes;%0Aimport org.springframework.mock.web.MockHttpServletRequest;%0Aimport org.springframework.mock.web.MockHttpServletResponse;%0Aimport org.springframework.web.servlet.ModelAndView;%0A%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0Aimport static org.mockito.Mockito.mock;%0A%0A@RunWith(MockitoJUnitRunner.class)%0Apublic class ErrorControllerTest %7B%0A%0A    private ErrorController sut;%0A%0A    @Before%0A    public void setUp() %7B%0A        sut = new ErrorController(mock(ErrorAttributes.class));%0A    %7D%0A%0A    @Test%0A    public void errorHtml() %7B%0A        final HttpServletRequest request = new MockHttpServletRequest();%0A        final HttpServletResponse response = new MockHttpServletResponse();%0A        response.setStatus(403);%0A%0A        final ModelAndView modelAndView = sut.errorHtml(request, response);%0A        assertThat(modelAndView.getViewName()).isEqualTo(%22errors%22);%0A        assertThat(modelAndView.getModel().get(%22statusCode%22)).isEqualTo(403);%0A    %7D%0A%7D%0A

Add ErrorController Tests