public void PractitionerRepoSetup() { _dbController = new TestDbController(); testInstance = PractitionerRepo.GetInstance(_dbController); testPractitionerOne = new Practitioner(DateTime.Today.AddHours(9), TimeSpan.FromHours(12), "pracNameOne"); testPractitionerTwo = new Practitioner(DateTime.Today.AddHours(9), TimeSpan.FromHours(12), "pracNameTwo"); testInstance.AddPractitioner(testPractitionerOne); testInstance.AddPractitioner(testPractitionerTwo); }
public void CreationTest() { PractitionerRepo compareTestRepo = PractitionerRepo.GetInstance(_dbController); Assert.AreEqual(testInstance, compareTestRepo); }