#NEWLINE# def test_send_event( self ) : #NEWLINE# #INDENT# factory = DummyFactory ( ) #NEWLINE# relay = EventRelay ( factory ) #NEWLINE# relay ( DUMMY_EVENT ) #NEWLINE# for broadcaster in factory . broadcasters : #NEWLINE# #INDENT# self . assertEqual ( broadcaster . received_event , DUMMY_EVENT )