'Test that makeConnection saves the XML stream and calls connectionMade.'

def test_makeConnection(self):

    class TestXMPPHandler(xmlstream.XMPPHandler, ):
        def connectionMade(self):
            self.doneMade = True
    handler = TestXMPPHandler()
    xs = xmlstream.XmlStream(xmlstream.Authenticator())
    handler.makeConnection(xs)
    self.assertTrue(handler.doneMade)
    self.assertIdentical(xs, handler.xmlstream)
