'Test that multiple handlers for a single stanza work
without clobbering each other.'

def testMultipleHandlersForStanza(self):

    def handler_1(msg):
        msg.reply(('Handler    1:    %s' % msg['body'])).send()
    def handler_2(msg):
        msg.reply(('Handler    2:    %s' % msg['body'])).send()
    def handler_3(msg):
        msg.reply(('Handler    3:    %s' % msg['body'])).send()
    self.xmpp.add_event_handler('message', handler_1)
    self.xmpp.add_event_handler('message', handler_2)
    self.xmpp.add_event_handler('message', handler_3)
    self.recv('\n                                        <message    to="tester@localhost"    from="user@example.com">\n                                                <body>Testing</body>\n                                        </message>\n                                ')
    self.send('\n                                        <message    to="user@example.com">\n                                                <body>Handler    1:    Testing</body>\n                                        </message>\n                                ')
    self.send('\n                                        <message    to="user@example.com">\n                                                <body>Handler    2:    Testing</body>\n                                        </message>\n                                ')
    self.send('\n                                        <message    to="user@example.com">\n                                                <body>Handler    3:    Testing</body>\n                                        </message>\n                                ')
