#NEWLINE# def test_bodyDataFinishedAfterFinishedFails( self ) : #NEWLINE# #INDENT# '\n        L{Response._bodyDataFinished} raises L{RuntimeError} if called more\n        than once.\n        ' #NEWLINE# response = justTransportResponse ( StringTransport ( ) ) #NEWLINE# response . _bodyDataFinished ( ) #NEWLINE# self . assertRaises ( RuntimeError , self . _bodyDataFinished )