'Test raw data functions set when logTraffic is set to True.'

def test_connectedLogTrafficTrue(self):

    sm = self.streamManager
    sm.logTraffic = True
    handler = DummyXMPPHandler()
    handler.setHandlerParent(sm)
    xs = xmlstream.XmlStream(xmlstream.Authenticator())
    sm._connected(xs)
    self.assertNotIdentical(None, xs.rawDataInFn)
    self.assertNotIdentical(None, xs.rawDataOutFn)
