@Test(expected = IllegalArgumentException.class) public void testCheckUrlDoesNotExist() throws IOException { RunUrlStatement.checkUrlExists( new URL("http: }
public static void checkUrlExists(URL url, String errorMessageTemplate, Object... errorMessageArgs) throws IOException { if (!urlExists(url)) { throw new IllegalArgumentException( String.format(errorMessageTemplate, errorMessageArgs)); } }
RunUrlStatement implements Statement { public static void checkUrlExists(URL url, String errorMessageTemplate, Object... errorMessageArgs) throws IOException { if (!urlExists(url)) { throw new IllegalArgumentException( String.format(errorMessageTemplate, errorMessageArgs)); } } }
RunUrlStatement implements Statement { public static void checkUrlExists(URL url, String errorMessageTemplate, Object... errorMessageArgs) throws IOException { if (!urlExists(url)) { throw new IllegalArgumentException( String.format(errorMessageTemplate, errorMessageArgs)); } } RunUrlStatement(String runUrlBase, String url, String... args);  RunUrlStatement(boolean checkUrlExists, String runUrlBase, String url,
      String... args); }
RunUrlStatement implements Statement { public static void checkUrlExists(URL url, String errorMessageTemplate, Object... errorMessageArgs) throws IOException { if (!urlExists(url)) { throw new IllegalArgumentException( String.format(errorMessageTemplate, errorMessageArgs)); } } RunUrlStatement(String runUrlBase, String url, String... args);  RunUrlStatement(boolean checkUrlExists, String runUrlBase, String url,
      String... args); @Override Iterable<String> functionDependencies(OsFamily family); @Override String render(OsFamily family); @Override boolean equals(Object o); @Override int hashCode(); static void checkUrlExists(URL url, String errorMessageTemplate,
      Object... errorMessageArgs); }
RunUrlStatement implements Statement { public static void checkUrlExists(URL url, String errorMessageTemplate, Object... errorMessageArgs) throws IOException { if (!urlExists(url)) { throw new IllegalArgumentException( String.format(errorMessageTemplate, errorMessageArgs)); } } RunUrlStatement(String runUrlBase, String url, String... args);  RunUrlStatement(boolean checkUrlExists, String runUrlBase, String url,
      String... args); @Override Iterable<String> functionDependencies(OsFamily family); @Override String render(OsFamily family); @Override boolean equals(Object o); @Override int hashCode(); static void checkUrlExists(URL url, String errorMessageTemplate,
      Object... errorMessageArgs);  }