@@ -0,0 +1,709 @@
+package com.github.sbugat.rundeck.plugins;%0D%0A%0D%0Aimport java.io.IOException;%0D%0Aimport java.net.MalformedURLException;%0D%0A%0D%0Aimport org.assertj.core.api.Assertions;%0D%0Aimport org.junit.Test;%0D%0A%0D%0Apublic class URLToolsTest %7B%0D%0A%0D%0A%09private static final String TEST_URL = %22http://unknown%22;%0D%0A%09%0D%0A%09@Test%0D%0A%09public void testOpenURLConnection() throws MalformedURLException, IOException %7B%0D%0A%09%09URLTools uRLTools = new URLTools();%0D%0A%09%09Assertions.assertThat(uRLTools.openURLConnection(TEST_URL)).isNotNull();%0D%0A%09%7D%0D%0A%09%0D%0A%09@Test(expected=MalformedURLException.class)%0D%0A%09public void testOpenURLConnectionNull() throws MalformedURLException, IOException %7B%0D%0A%09%09URLTools uRLTools = new URLTools();%0D%0A%09%09uRLTools.openURLConnection(null);%0D%0A%09%7D%0D%0A%09%0D%0A%0D%0A%7D%0D%0A

Add URLToolsTest class