'L{Response._bodyDataFinished} raises L{RuntimeError} if called more
than once.'

def test_bodyDataFinishedAfterFinishedFails(self):

    response = justTransportResponse(StringTransport())
    response._bodyDataFinished()
    self.assertRaises(RuntimeError, response._bodyDataFinished)
