'Setting logTraffic should set up raw data loggers.'

def test_makeConnectionLogTraffic(self):

    self.factory.logTraffic = True
    self.xmlstream.dispatch(self.xmlstream, xmlstream.STREAM_CONNECTED_EVENT)
    self.assertNotIdentical(None, self.xmlstream.rawDataInFn)
    self.assertNotIdentical(None, self.xmlstream.rawDataOutFn)
