@@ -0,0 +1,1842 @@
+package com.github.arteam.dropwizard.http2.client;%0A%0Aimport com.codahale.metrics.MetricRegistry;%0Aimport com.fasterxml.jackson.databind.ObjectMapper;%0Aimport io.dropwizard.jersey.validation.Validators;%0Aimport io.dropwizard.logging.BootstrapLogging;%0Aimport io.dropwizard.setup.Environment;%0Aimport org.assertj.core.api.Assertions;%0Aimport org.eclipse.jetty.client.HttpClient;%0Aimport org.eclipse.jetty.util.component.LifeCycle;%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0A/**%0A * Date: 1/6/16%0A * Time: 8:50 PM%0A *%0A * @author Artem Prigoda%0A */%0Apublic class Http2ClientExternalServiceTest %7B%0A%0A    static %7B%0A        BootstrapLogging.bootstrap();%0A    %7D%0A%0A    private Environment environment = new Environment(%22default%22, new ObjectMapper(),%0A            Validators.newValidator(), new MetricRegistry(), ClassLoader.getSystemClassLoader());%0A%0A    private HttpClient httpClient;%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        httpClient = new JettyHttpClientBuilder(environment).build();%0A        for (LifeCycle managedObject : environment.lifecycle().getManagedObjects()) %7B%0A            managedObject.start();%0A        %7D%0A    %7D%0A%0A    @After%0A    public void tearDown() throws Exception %7B%0A        for (LifeCycle managedObject : environment.lifecycle().getManagedObjects()) %7B%0A            managedObject.stop();%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void testExternalService() throws Exception %7B%0A        String content = httpClient.GET(%22https://http2.golang.org/reqinfo%22)%0A                .getContentAsString();%0A        assertThat(content).contains(%22Method: GET%22);%0A        assertThat(content).contains(%22Protocol: HTTP/2.0%22);%0A        assertThat(content).contains(%22Host: http2.golang.org:443%22);%0A        assertThat(content).contains(%22RequestURI: %5C%22/reqinfo%5C%22%22);%0A    %7D%0A%7D%0A%0A

Add a test for connecting to a Go Lang test server