@Test
public void createSocketNoAddress() throws IOException {

    InetAddress address = Inet6Address.getByName("fe80::e2f8:47ff:fe42:d872");
    String multicastGroup = ConfigKey.MULTICAST_GROUP.getDefaultValue();
    int multicastPort = Integer.valueOf(ConfigKey.MULTICAST_PORT.getDefaultValue());
    if (NetworkUtil.isMulticastSupported()) {
        MulticastUtil.newMulticastSocket(address, multicastGroup, multicastPort, new QuietLogHandler());
    } else {
        try {
            MulticastUtil.newMulticastSocket(address, multicastGroup, multicastPort, new QuietLogHandler());
            fail();
        } catch (IOException exp) {
            // Expected since no multicast socket is available
        }
    }
}