test net.i2p.util.Addresses::getIP with null input

This commit is contained in:
2021-01-20 19:45:23 +01:00
parent 3276cfca82
commit b37c718785

View 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));
}
}