'L{Server.write} discards bytes passed to it if called after it has lost
its connection.'

def test_writeAfterDisconnect(self):

    self.server.connectionLost(Failure(Exception('Simulated    lost    connection')))
    self.server.write('hello    world')
    self.assertEqual(self.skt.sendBuffer, [])
