Esempio n. 1
0
        private void reservationButton_Click(object sender, EventArgs e)
        {
            BookingService booking = BookingServiceImpl.GetService();
            ArrayList      array   = new ArrayList();

            array.Add((int)seatsNumerField.Value);
            booking.BookingSeats(seance, array);
        }
Esempio n. 2
0
 public void setUp()
 {
     cargoRepository    = MockRepository.GenerateMock <CargoRepository>();
     locationRepository = MockRepository.GenerateMock <LocationRepository>();
     routingService     = MockRepository.GenerateMock <RoutingService>();
     trackingIdFactory  = MockRepository.GenerateMock <TrackingIdFactory>();
     bookingService     = new BookingServiceImpl(routingService, trackingIdFactory, cargoRepository, locationRepository);
 }