'Test sending a line too long: it should close the connection.'

def test_lineTooLong(self):

    t = proto_helpers.StringTransport()
    a = LineOnlyTester()
    a.makeConnection(t)
    res = a.dataReceived(('x' * 200))
    self.assertIsInstance(res, error.ConnectionLost)
