'Make sure a stream is removed from the routing table on disconnect.'

def test_connectionLost(self):

    self.xmlstream.dispatch(self.xmlstream, xmlstream.STREAM_AUTHD_EVENT)
    self.xmlstream.dispatch(None, xmlstream.STREAM_END_EVENT)
    self.assertNotIn('component.example.org', self.router.routes)
