'Verify that unknown commands using low-level APIs will be rejected with an
error, but will NOT terminate the connection.'

def test_unknownCommandLow(self):

    (c, s, p) = connectedServerAndClient()
    L = []
    def clearAndAdd(e):
        "\n                                                You    can't    propagate    the    error...\n                                                "
        e.trap(amp.UnhandledCommand)
        return 'OK'
    c.callRemoteString('WTF').addErrback(clearAndAdd).addCallback(L.append)
    p.flush()
    self.assertEqual(L.pop(), 'OK')
    HELLO = 'world'
    c.sendHello(HELLO).addCallback(L.append)
    p.flush()
    self.assertEqual(L[0]['hello'], HELLO)
