'Test the addition of a protocol handler while not connected.'

def test_addHandler(self):

    sm = self.streamManager
    handler = DummyXMPPHandler()
    handler.setHandlerParent(sm)
    self.assertEqual(0, handler.doneMade)
    self.assertEqual(0, handler.doneInitialized)
    self.assertEqual(0, handler.doneLost)
