public void setUp()
 {
     systemEvents = MockRepository.GenerateMock<SystemEvents>();
     cargoRepository = new CargoRepositoryInMem();
     handlingEventRepository = new HandlingEventRepositoryInMem();
     locationRepository = new LocationRepositoryInMem();
     voyageRepository = new VoyageRepositoryInMem();
     trackingIdFactory = new TrackingIdFactoryInMem();
     handlingEventFactory = new HandlingEventFactory(cargoRepository, voyageRepository, locationRepository);
     cargoUpdater = new CargoUpdater(systemEvents, cargoRepository, handlingEventRepository);
 }
Beispiel #2
0
 public void setUp()
 {
     systemEvents            = MockRepository.GenerateMock <SystemEvents>();
     cargoRepository         = new CargoRepositoryInMem();
     handlingEventRepository = new HandlingEventRepositoryInMem();
     locationRepository      = new LocationRepositoryInMem();
     voyageRepository        = new VoyageRepositoryInMem();
     trackingIdFactory       = new TrackingIdFactoryInMem();
     handlingEventFactory    = new HandlingEventFactory(cargoRepository, voyageRepository, locationRepository);
     cargoUpdater            = new CargoUpdater(systemEvents, cargoRepository, handlingEventRepository);
 }