@Test(expected=UnknownHostException.class)
public void testVerifyHostnamesException() throws UnknownHostException {

  String[] names = {"valid.host.com", "1.com", "invalid host here"};
  NetUtils.verifyHostnames(names);
}