'L{IListeningPort.setBroadcastAllowed} sets broadcast to be allowed
on the socket.'

def test_allowBroadcast(self):

    reactor = self.buildReactor()
    port = self.getListeningPort(reactor, DatagramProtocol())
    port.setBroadcastAllowed(True)
    self.assertTrue(port.getBroadcastAllowed())
