### Question:
HttpUtils { static String curl (String url) { return curl(url, false); } private  HttpUtils(); static String getMachineHostname(); static String getMachineIP(); static String curl(String url, boolean suppressErrors);  }### Answer:
@Test public void curl () throws IOException { assertEquals(RESPONSE, HttpUtils.curl(new URL("http", "localhost", port, "/test").toString())); }
@Test public void curlNotFound () throws IOException { assertNull(HttpUtils.curl(new URL("http", "localhost", port, "/notfound").toString())); }