@Test
public void testGetLocalInetAddress() throws Exception {

  assertNotNull(NetUtils.getLocalInetAddress("127.0.0.1"));
  assertNull(NetUtils.getLocalInetAddress("invalid-address-for-test"));
  assertNull(NetUtils.getLocalInetAddress(null));
}