Esempio n. 1
0
 /// <summary>
 /// Creator: Ben Hanna
 /// Created: 2/12/2020
 /// Approver: Carl Davis, 2/14/2020
 /// Approver: Chuck Baxter, 2/14/2020
 ///
 /// Constructor that assigns the fake accessor class to be the passed kennel accessor
 /// </summary>
 /// <remarks>
 /// Updater:
 /// Updated:
 /// Update:
 /// </remarks>
 public AnimalKennelManagerTests()
 {
     _kennelAccessor = new FakeAnimalKennelAccessor();
 }
 /// <summary>
 /// Creator: Ben Hanna
 /// Created: 2/12/2020
 /// Approver: Carl Davis, 2/14/2020
 /// Approver: Chuck Baxter, 2/14/2020
 ///
 /// Constructor for fake data access methods
 /// </summary>
 /// <remarks>
 /// Updater:
 /// Updated:
 /// Update:
 /// </remarks>
 /// <param name="kennelAccessor"></param>
 public AnimalKennelManager(IAnimalKennelAccessor kennelAccessor)
 {
     _kennelAccessor = kennelAccessor;
 }
Esempio n. 3
0
 public void TestTeardown()
 {
     _kennelAccessor = null;
 }
 /// <summary>
 /// Creator: Ben Hanna
 /// Created: 2/12/2020
 /// Approver: Carl Davis, 2/14/2020
 /// Approver: Chuck Baxter, 2/14/2020
 ///
 /// Constructor for real data access methods
 /// </summary>
 /// <remarks>
 /// Updater:
 /// Updated:
 /// Update:
 /// </remarks>
 public AnimalKennelManager()
 {
     _kennelAccessor = new AnimalKennelAccessor();
 }