@@ -0,0 +1,1815 @@
+package br.edu.utfpr.recominer.web.controller;%0D%0A%0D%0Aimport br.edu.utfpr.recominer.web.WebAppInitializer;%0D%0Aimport com.fasterxml.jackson.core.JsonProcessingException;%0D%0Aimport static org.junit.Assert.assertNotNull;%0D%0Aimport org.junit.Rule;%0D%0Aimport org.junit.Test;%0D%0Aimport org.junit.rules.Timeout;%0D%0Aimport org.junit.runner.RunWith;%0D%0Aimport org.springframework.boot.test.SpringApplicationConfiguration;%0D%0Aimport org.springframework.boot.test.TestRestTemplate;%0D%0Aimport org.springframework.boot.test.WebIntegrationTest;%0D%0Aimport org.springframework.http.HttpEntity;%0D%0Aimport org.springframework.http.HttpHeaders;%0D%0Aimport org.springframework.http.MediaType;%0D%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0D%0Aimport org.springframework.web.client.RestTemplate;%0D%0Aimport static org.junit.Assert.assertNotNull;%0D%0A%0D%0A@RunWith(SpringJUnit4ClassRunner.class)%0D%0A@SpringApplicationConfiguration(classes = WebAppInitializer.class)%0D%0A@WebIntegrationTest%0D%0Apublic class ProjectControllerIT %7B%0D%0A%0D%0A    private static final String APPLICATION_SERVICE_URL = %22http://localhost:8080/projects%22;%0D%0A%0D%0A    private RestTemplate rest = new TestRestTemplate();%0D%0A%0D%0A    @Rule%0D%0A    public Timeout timeout = Timeout.seconds(3);%0D%0A%0D%0A    @Test%0D%0A    public void testEmptyPasswordEvaluationService() throws JsonProcessingException %7B%0D%0A        HttpHeaders requestHeaders = new HttpHeaders();%0D%0A        requestHeaders.setContentType(MediaType.APPLICATION_JSON);%0D%0A%0D%0A        // Creating http entity object with request body and headers%0D%0A        HttpEntity%3CString%3E httpEntity = new HttpEntity%3CString%3E(%22%22, requestHeaders);%0D%0A%0D%0A        // Invoking the API%0D%0A        String apiResponse = rest.postForObject(APPLICATION_SERVICE_URL, httpEntity, String.class);%0D%0A%0D%0A        // Asserting the response of the API.%0D%0A        assertNotNull(apiResponse);%0D%0A%0D%0A    %7D%0D%0A%7D%0D%0A

Test for ProjectController.