Example #1
0
 @Test
 public void testIpLocalHostValido() {
   assertTrue(ValidationUtil.isValidInetAddress("127.0.0.1"));
 }
Example #2
0
 @Test
 public void testIpInvalido() {
   assertFalse(ValidationUtil.isValidInetAddress("0.0.1"));
 }