### Question:
IpUtils { public static String getHostName() { try { return InetAddress.getLocalHost().getHostName(); } catch (final UnknownHostException ex) { return "unknown"; } }  static String getIp(); static String getHostName(); static final String IP_REGEX; }### Answer:
@Test public void assertGetHostName() { assertNotNull(IpUtils.getHostName()); }