    @Test
    @Ignore // Might not be able to assign address on local machine
    public void testCreateSocketReturnsNewInstance() throws Exception {

        DiscoveryListener listener = mock(DiscoveryListener.class);

        DiscoveryThread thread = new DiscoveryThread(
            AndroidNetworkIntents.DEFAULT_MULTICAST_ADDRESS,
            AndroidNetworkIntents.DEFAULT_PORT,
            listener
        );

        MulticastSocket socket1 = thread.createSocket();
        MulticastSocket socket2 = thread.createSocket();

        Assert.assertNotNull(socket1);
        Assert.assertNotNull(socket2);

        Assert.assertNotSame(socket1, socket2);
    }