@@ -0,0 +1,813 @@
+package io.crowdcode.flaschenlager.stock.controller;%0A%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.test.context.junit4.SpringRunner;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0A@RunWith(SpringRunner.class)%0A@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)%0Apublic class SwaggerTest %7B%0A%0A    @Autowired%0A    private TestRestTemplate restTemplate;%0A%0A    @Test%0A    public void testSwaggerUI() throws Exception %7B%0A        String body = this.restTemplate.getForObject(%22/v2/api-docs%22, String.class);%0A        assertThat(body).contains(%22swagger%22);%0A%0A    %7D%0A%7D%0A

add integration test to check if swagger api doc is available.