@@ -0,0 +1,1079 @@
+package org.pdxfinder.web;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.test.web.servlet.MockMvc;%0Aimport org.springframework.test.web.servlet.setup.MockMvcBuilders;%0Aimport org.springframework.web.context.WebApplicationContext;%0A%0Aimport static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;%0Aimport static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;%0A%0Apublic class IndexControllerTest extends BaseTests %7B%0A%0A    @Autowired%0A    private WebApplicationContext webApplicationContext;%0A%0A    private MockMvc mockMvc;%0A%0A%0A    @Before%0A    public void setup() %7B%0A        mockMvc = MockMvcBuilders.webAppContextSetup(webApplicationContext).build();%0A    %7D%0A%0A    @Test%0A    public void Given_ContextPath_When_ContextPathRootVisited_Then_RedirectToSearch()%7B%0A        try %7B%0A            this.mockMvc.perform(get(%22/%22))%0A                    .andExpect(redirectedUrl(%22/search%22));%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A%0A    %7D%0A%0A%0A%7D%0A

Add redirect test