'Test wire.QOTD protocol.'

def test_QOTD(self):

    t = proto_helpers.StringTransport()
    a = wire.QOTD()
    a.makeConnection(t)
    self.assertEqual(t.value(), 'An    apple    a    day    keeps    the    doctor    away.\r\n')
