@Test public void testCreateDriverEvent( ) { eventHelper.fireCreateEvent( newDriver ); verify( newDriverEvent, times( 1 ) ).fire( newDriver ); }
public void fireCreateEvent( NewDataSourceEvent event ) { newDataSourceEvent.fire( event ); }
DataSourceEventHelper { public void fireCreateEvent( NewDataSourceEvent event ) { newDataSourceEvent.fire( event ); } }
DataSourceEventHelper { public void fireCreateEvent( NewDataSourceEvent event ) { newDataSourceEvent.fire( event ); } DataSourceEventHelper( ); @Inject  DataSourceEventHelper( Event< NewDataSourceEvent > newDataSourceEvent,
                                  Event< UpdateDataSourceEvent > updateDataSourceEvent,
                                  Event< DeleteDataSourceEvent > deleteDataSourceEvent,
                                  Event< NewDriverEvent > newDriverEvent,
                                  Event< UpdateDriverEvent > updateDriverEvent,
                                  Event< DeleteDriverEvent > deleteDriverEvent ); }
DataSourceEventHelper { public void fireCreateEvent( NewDataSourceEvent event ) { newDataSourceEvent.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 ); }
DataSourceEventHelper { public void fireCreateEvent( NewDataSourceEvent event ) { newDataSourceEvent.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 );  }