forked from I2P_Developers/i2p.i2p
test net.i2p.util.Addresses::getIP with null input
This commit is contained in:
14
core/java/test/junit/net/i2p/util/AddressesTest.java
Normal file
14
core/java/test/junit/net/i2p/util/AddressesTest.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package net.i2p.util;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
public class AddressesTest {
|
||||
|
||||
|
||||
@Test
|
||||
public void getIPNull() {
|
||||
assertNull(Addresses.getIP(null));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user