'Test that multicast a group can be joined and left.'

def test_joinLeave(self):

    d = self.client.transport.joinGroup('225.0.0.250')
    def clientJoined(ignored):
        return self.client.transport.leaveGroup('225.0.0.250')
    d.addCallback(clientJoined)
    def clientLeft(ignored):
        return self.server.transport.joinGroup('225.0.0.250')
    d.addCallback(clientLeft)
    def serverJoined(ignored):
        return self.server.transport.leaveGroup('225.0.0.250')
    d.addCallback(serverJoined)
    return d
