@@ -0,0 +1,1595 @@
+package com.mowitnow.boot.rest.resoures;%0A%0Aimport com.fasterxml.jackson.core.JsonProcessingException;%0Aimport com.fasterxml.jackson.databind.ObjectMapper;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.boot.test.context.SpringBootTest;%0Aimport org.springframework.boot.test.web.client.TestRestTemplate;%0Aimport org.springframework.http.*;%0Aimport org.springframework.test.context.junit4.SpringRunner;%0A%0Aimport java.util.Collections;%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Aimport static junit.framework.Assert.assertNotNull;%0A%0A/**%0A * Created by asagaama on 13/11/2016.%0A */%0A@RunWith(SpringRunner.class)%0A@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)%0Apublic class MowerControllerIntegrationTest %7B%0A%0A    @Autowired%0A    private TestRestTemplate restTemplate;%0A    //Required to Generate JSON content from Java objects%0A    public static final ObjectMapper objectMapper = new ObjectMapper();%0A%0A    /**%0A     * Test the POST /v1/mower API%0A     */%0A    @Test%0A    public void testProcess() throws JsonProcessingException %7B%0A        Map%3CString, Object%3E requestBody = new HashMap%3C%3E();%0A        HttpHeaders headers = new HttpHeaders();%0A        headers.setContentType(MediaType.APPLICATION_JSON);%0A        HttpEntity%3CString%3E entity = new HttpEntity%3C%3E(objectMapper.writeValueAsString(requestBody), headers);%0A%0A        ResponseEntity%3CMap%3E responseE = restTemplate.exchange(%22/v1/mower%22, HttpMethod.POST, entity, Map.class, Collections.EMPTY_MAP);%0A%0A        assertNotNull(responseE);%0A    %7D%0A%7D%0A

add Integration Tests for mower REST Service