Exemplo n.º 1
0
 public void DisposeUnmanaged()
 {
     tmpBooking               = null;
     OutsideHoursException    = null;
     NoCreditCardException    = null;
     NotEnoughPeopleException = null;
 }
Exemplo n.º 2
0
 public void GivenTheTheCustomerHasCreatedABookingForPeopleOutsideWorkHours()
 {
     try
     {
         tmpBooking = new Booking(DateTime.Now.Date.AddHours(7), 2);
     }
     catch (BookingOutsideHoursException ex)
     {
         OutsideHoursException = ex;
     }
 }