@@ -0,0 +1,1130 @@
+package test.unit.haushaltsbuch;%0A%0Aimport static org.mockito.Matchers.anyString;%0Aimport static org.mockito.Matchers.eq;%0Aimport static org.mockito.Mockito.mock;%0Aimport static org.mockito.Mockito.verify;%0Aimport java.io.IOException;%0Aimport javax.servlet.ServletConfig;%0Aimport javax.servlet.ServletException;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport haushaltsbuch.DeleteException;%0Aimport haushaltsbuch.InsertException;%0Aimport haushaltsbuch.web.controllers.RootController;%0A%0Apublic class RootControllerTest extends RootController%0A%7B%0A  @Before%0A  public void setUp() throws Exception%0A  %7B%0A    init(mock(ServletConfig.class));%0A  %7D%0A%0A  @Test%0A  public void testEmpty() throws ServletException, IOException, DeleteException, InsertException%0A  %7B%0A    HttpServletRequest request = mock(HttpServletRequest.class);%0A    HttpServletResponse response = mock(HttpServletResponse.class);%0A%0A    doGet(request, response);%0A%0A    verify(request).setAttribute(eq(%22title%22), anyString());%0A    verify(request).setAttribute(eq(%22view%22), eq(%22index.jsp%22));%0A  %7D%0A%7D%0A

Add test for home (root) page