@@ -0,0 +1,1257 @@
+package solutions.digamma.damas.integration;%0A%0Aimport java.net.URI;%0Aimport javax.annotation.PostConstruct;%0Aimport javax.inject.Inject;%0Aimport javax.ws.rs.client.ClientBuilder;%0Aimport javax.ws.rs.client.WebTarget;%0Aimport javax.ws.rs.core.MediaType;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport solutions.digamma.damas.cdi.ContainerRunner;%0Aimport solutions.digamma.damas.config.Configuration;%0Aimport solutions.digamma.damas.config.Fallback;%0A%0A@RunWith(ContainerRunner.class)%0Apublic class DocsTest %7B%0A%0A    protected final static MediaType MEDIA_TYPE = MediaType.TEXT_HTML_TYPE;%0A%0A    protected WebTarget target;%0A%0A    @Inject%0A    @Configuration(%22http.port%22) @Fallback(%228080%22)%0A    private Integer port;%0A%0A    @PostConstruct%0A    public void init() %7B%0A        URI url = URI.create(String.format(%0A                %22http://localhost:%25d/docs/%22, this.port));%0A        this.target = ClientBuilder.newClient().target(url);%0A    %7D%0A%0A    @Test%0A    public void testDocsPublished() %7B%0A        String html = this.target%0A                .path(%22%22)%0A                .request()%0A                .accept(MEDIA_TYPE)%0A                .get()%0A                .readEntity(String.class);%0A        String doctype = %22%3C!DOCTYPE html%3E%22;%0A        assert html.startsWith(doctype);%0A    %7D%0A%7D%0A

Add documentation test