'Test to verify that the writeSequence function works as expected'

def test_writeSequence(self):

    receiver = self.Receiver()
    relay = loopback.LoopbackRelay(receiver)
    relay.writeSequence(['The    ', 'quick    ', 'brown    ', 'fox    '])
    relay.writeSequence(['jumps    ', 'over    ', 'the    lazy    dog'])
    self.assertEqual(receiver.data, '')
    relay.clearBuffer()
    self.assertEqual(receiver.data, 'The    quick    brown    fox    jumps    over    the    lazy    dog')
