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