예제 #1
0
        public virtual void SetUp()
        {
            // Creates a new database
            using (var dbContext = new AppDatabaseContext())
            {
                AppDatabaseContext.Create();
            };

            // Add common test data to the database
            AddTestCountries();
            AddTestStates();
            AddTestCities();
            AddTestAddresses();
        }