#NEWLINE# def test_function_called( self ) : #NEWLINE# #INDENT# calls = [ ] #NEWLINE# marker = object ( ) #NEWLINE# self . make_spinner ( ) . run ( self . make_timeout ( ) , self . append , marker ) #NEWLINE# self . assertThat ( calls , Equals ( [ marker ] ) )