public void OneTimeSetUp() { var tcDatabase = new TCDatabase(); tcDatabase.InitializeDatabase(); tcDatabase.InitializeCenterTypesTable(); }
private static void InitializeDatabase() { var tcDatabase = new TCDatabase(); tcDatabase.InitializeDatabase(); tcDatabase.InitializeCenterTypesTable(); tcDatabase.InitializeCentersTable(); tcDatabase.InitializeAppointmentsTable(); }
public void InitializeCentersTable() { //Setup fixture var sut = new TCDatabase(); //SUT sut.InitializeCentersTable(); //Verify outcomes var centerTypes = Helpers.LoadJsonFile().Tables["Centers"]; Assert.AreEqual(centerTypes.Rows.Count, RowsCount("Center")); }
public void OneTimeSetUp() { var tcDatabase = new TCDatabase(); tcDatabase.InitializeDatabase(); }