'L{ServerProtocol.cursorDown} writes the control sequence
ending with L{CSFinalByte.CUD} to its transport.'

def test_cursorDown(self):

    self.protocol.cursorDown(1)
    self.assertEqual(self.transport.value(), ((self.CSI + '1') + CSFinalByte.CUD.value))
