@Test
public void testGetLocalIPs() {

    List<String> allIps = NetworkExt.getLocalIPs(false).orElse(null);
    assertThat(allIps).isNotNull();
    assertThat(allIps).allSatisfy(address -> assertThat(NetworkExt.isIpV4(address) || NetworkExt.isIPv6(address)).isTrue());
}