Exemple #1
0
 public AppointmentManagerTest()
 {
     _appAccs              = new AppointmentAccessorMock();
     _appMgr               = new AppointmentManager(_appAccs);
     _testAppointments     = new List <Appointment>();
     _testAppointmentTypes = new List <AppointmentType>();
     _testGuestViewModels  = new List <AppointmentGuestViewModel>();
 }
 /// <summary author="Wes Richardson" created="2019/03/07">
 /// Construtor for unit tests
 /// </summary>
 public AppointmentManager(IAppointmentAccessor appAccr)
 {
     _appointmentAccessor = appAccr;
 }
 /// <summary author="Wes Richardson" created="2019/03/07">
 /// Default Constructor for getting the AppointmentAccessor that retrieves data from database
 /// </summary>
 public AppointmentManager()
 {
     _appointmentAccessor = new AppointmentAccessor();
     appointmentValid     = false;
 }
Exemple #4
0
 /// <summary>
 /// Creator: Thomas Dupuy
 /// Created: 2020/02/06
 /// Approver: Awaab Elamin
 /// This method is a no-argument constructor
 /// </summary>
 /// <remarks>
 /// Updater: Mohamed Elamin
 /// Updated: 2020/04/20
 /// Update: I Added param, returns tags for the comments. And updated the date format
 /// </remarks>
 public AppointmentManager()
 {
     _appointmentAccessor = new AppointmentAccessor();
 }
Exemple #5
0
 /// <summary>
 /// Creator: Thomas Dupuy
 /// Created: 02/06/2020
 /// Approver: Awaab Elamin
 ///
 /// This method is a no-argument constructor
 /// </summary>
 ///
 /// <remarks>
 /// Updater:
 /// Updated:
 /// Update:
 /// </remarks>
 public AppointmentManagerTest()
 {
     _appointmentAccessor = new FakeAppointmentAccessor();
 }