public void SetUp() { _EventStore = new EventStore(); _UserStore = new UserStore(); Diary_ = new EventManager(_EventStore); AppointmentsToBook = new List <EventToBook>(); _AutoBookResults = null; }
public void WhenAutoBookingIsExecuted() { _AutoBookResults = Diary_.AutoBook(AppointmentsToBook, _UserStore.GetUsers()); AppointmentsToBook.Clear(); }