@Test
public void testGetHostnameWhenInputIsNotInetSocketAddress() {

  SocketAddress socketAddress = new SocketAddress() {};
  String hostname = SyslogUtils.getHostname(socketAddress);
  assertEquals("", hostname);
}