public void DisposeUnmanaged() { tmpBooking = null; OutsideHoursException = null; NoCreditCardException = null; NotEnoughPeopleException = null; }
public void GivenTheTheCustomerHasCreatedABookingFor(int numOfPeople) { try { tmpBooking = new Booking(DateTime.Now.Date.AddHours(10), numOfPeople); } catch (NotEnoughPeopleException ex) { NotEnoughPeopleException = ex; } }