#NEWLINE# def test_ordered_execution_with_missing_method_call( self ) : #NEWLINE# #INDENT# order_register = OrderedExecutionMock ( order_register . class_to_test ) #NEWLINE# order_register . register ( 'methodA' ) #NEWLINE# order_register . register ( 'methodB' ) #NEWLINE# self . class_to_test . methodA ( ) #NEWLINE# try : #NEWLINE# #INDENT# order_register . verify_order ( ) #NEWLINE# self . fail ( 'Exception expected!' ) #NEWLINE# #UNINDENT# except MissingExecutionError : #NEWLINE# #INDENT# pass