コード例 #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();
 }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
 public void TestTeardown()
 {
     _kennelAccessor = null;
 }
コード例 #4
0
 /// <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();
 }