> +/** > + * Base class for integration tests that use {@link MockWebServer} to verify > the > + * behavior of the HTTP workflows. > + * > + * @author Ignasi Barrera > + */ > +public abstract class BaseMockWebServerTest { > + > + protected SSLContext sslContext; > + > + @BeforeClass(groups = "integration") > + protected void setupSSL() { > + try { > + sslContext = new > SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); > + } catch (GeneralSecurityException ex) { > + throw Throwables.propagate(ex);
nit. faster to write `throw new RuntimeException(e);` :) --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/232/files#r8624330