### Question:
DataSourceEventHelper { public void fireUpdateEvent( UpdateDataSourceEvent event ) { updateDataSourceEvent.fire( event ); } DataSourceEventHelper( ); @Inject  DataSourceEventHelper( Event< NewDataSourceEvent > newDataSourceEvent,
                                  Event< UpdateDataSourceEvent > updateDataSourceEvent,
                                  Event< DeleteDataSourceEvent > deleteDataSourceEvent,
                                  Event< NewDriverEvent > newDriverEvent,
                                  Event< UpdateDriverEvent > updateDriverEvent,
                                  Event< DeleteDriverEvent > deleteDriverEvent ); void fireCreateEvent( NewDataSourceEvent event ); void fireUpdateEvent( UpdateDataSourceEvent event ); void fireDeleteEvent( DeleteDataSourceEvent event ); void fireCreateEvent( NewDriverEvent event ); void fireUpdateEvent( UpdateDriverEvent event ); void fireDeleteEvent( DeleteDriverEvent event );  }### Answer:
@Test public void testUpdateDataSourceEvent( ) { eventHelper.fireUpdateEvent( updateDataSource ); verify( updateDataSourceEvent, times( 1 ) ).fire( updateDataSource ); }
@Test public void testUpdateDriverEvent( ) { eventHelper.fireUpdateEvent( updateDriver ); verify( updateDriverEvent, times( 1 ) ).fire( updateDriver ); }