/// <summary> /// Creator: Ethan Murphy /// Created: 2/16/2020 /// Approver: Carl Davis 2/21/2020 /// Approver: /// /// Constructor that accepts an instance of the animal /// prescription accessor /// </summary> /// <remarks> /// Updater: /// Updated: /// Update: /// </remarks> /// <param name="animalPrescriptionsAccessor">An AnimalPrescription accessor</param> public AnimalPrescriptionsManager(IAnimalPrescriptionsAccessor animalPrescriptionsAccessor) { _animalPrescriptionsAccessor = animalPrescriptionsAccessor; }
/// <summary> /// Creator: Ethan Murphy /// Created: 2/16/2020 /// Approver: Carl Davis 2/21/2020 /// Approver: /// /// No argument constructor that initializes an instance /// of the animal prescriptions accessor /// </summary> /// <remarks> /// Updater: /// Updated: /// Update: /// </remarks> public AnimalPrescriptionsManager() { _animalPrescriptionsAccessor = new AnimalPrescriptionAccessor(); }
/// <summary> /// Creator: Ethan Murphy /// Created: 2/16/2020 /// Approver: Carl Davis 2/21/2020 /// Approver: /// /// Default constructor that initializes the fake /// animal prescriptions accessor /// </summary> /// <remarks> /// Updater: /// Updated: /// Update: /// </remarks> public AnimalPrescriptionManagerTests() { _animalPrescriptionsAccessor = new FakeAnimalPrescriptionsAccessor(); }