#NEWLINE# def test_add_event( self ) : #NEWLINE# #INDENT# self . mox . StubOutWithMock ( scheduled_executor . ScheduledExecutor , 'add_event' ) #NEWLINE# runnable = object ( ) #NEWLINE# scheduled_executor . ScheduledExecutor . add_event ( self , 123 , ( 'foo' , 'bar' ) ) #NEWLINE# scheduled_executor . ScheduledExecutor . add_event ( runnable , 124 , None ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# self . dispatcher . add_event ( runnable , 123 , 'foo' , 'bar' ) #NEWLINE# self . dispatcher . add_event ( runnable , 124 ) #NEWLINE# self . mox . VerifyAll ( )