@@ -0,0 +1,1941 @@
+package com.worth.ifs.assessment.controller;%0A%0Aimport com.worth.ifs.assessment.builder.AssessmentFeedbackResourceBuilder;%0Aimport com.worth.ifs.assessment.resource.AssessmentFeedbackResource;%0Aimport com.worth.ifs.assessment.service.AssessmentFeedbackService;%0Aimport org.junit.Before;%0Aimport org.mockito.Mock;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.test.context.web.WebAppConfiguration;%0Aimport org.springframework.test.web.servlet.MockMvc;%0Aimport org.springframework.test.web.servlet.MvcResult;%0Aimport org.springframework.test.web.servlet.request.MockMvcRequestBuilders;%0Aimport org.springframework.test.web.servlet.setup.MockMvcBuilders;%0Aimport org.springframework.web.context.WebApplicationContext;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;%0A%0A/**%0A * Created by David Chen on 29/06/16.%0A */%0A@WebAppConfiguration%0Apublic class AssessmentControllerTest %7B%0A%0A    protected MockMvc mvc;%0A%0A    private static final Long ASSESSMENT_ID = 1L;%0A%0A    @Autowired%0A    protected WebApplicationContext webApplicationContext;%0A%0A    @Mock%0A    private AssessmentFeedbackService assessmentFeedbackService;%0A%0A    @Before%0A    public void setUp()%7B%0A        mvc = MockMvcBuilders.webAppContextSetup(webApplicationContext).build();%0A    %7D%0A%0A    public void testGetAllQuestionsOfGivenAssessment() throws Exception%7B%0A        AssessmentFeedbackResource assessmentFeedbackResource = AssessmentFeedbackResourceBuilder.newAssessmentFeedbackResource().build();%0A        List%3CAssessmentFeedbackResource%3E listOfAssessmentFeedback = new ArrayList%3C%3E();%0A        listOfAssessmentFeedback.add(assessmentFeedbackResource);%0A%0A%0A       // String uri = %22/assessment/summary/%22;%0A        MvcResult result = mvc.perform(MockMvcRequestBuilders.get(%22/assessment/summary/%7BassessmentId%7D%22,ASSESSMENT_ID)).andExpect(status().isOk()).andReturn();%0A%0A%0A%0A    %7D%0A%0A%0A%0A%0A%7D%0A

Create Asscessment Controller and add the thymeleaf view