#NEWLINE# def _create_error_handler_mock( self ) : #NEWLINE# #INDENT# error_handler = flexmock ( ) #NEWLINE# error_handler . should_receive ( 'FrameworkAbort' ) #NEWLINE# error_handler . should_receive ( 'Add' ) #NEWLINE# return self