'Test removal of a protocol handler.'

def test_removeHandler(self):

    handler = DummyXMPPHandler()
    handler.setHandlerParent(self.collection)
    handler.disownHandlerParent(self.collection)
    self.assertNotIn(handler, self.collection)
    self.assertIdentical(None, handler.parent)
