'L{Response.deliverBody} raises L{RuntimeError} if called after
L{Response._bodyDataFinished}.'

def test_startProducingAfterFinishedFails(self):

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