Example #1
0
        public void ReturnNotNull_TeamToolsDbContext()
        {
            // Arrange & Act
            var result = MeetMeDbContext.Create();

            // Assert
            Assert.IsNotNull(result);
        }
Example #2
0
        public void ReturnInstanceOf_TeamToolsDbContext()
        {
            // Arrange & Act
            var result = MeetMeDbContext.Create();

            // Assert
            Assert.IsInstanceOf <MeetMeDbContext>(result);
        }
Example #3
0
 public static void Initialize()
 {
     Database.SetInitializer(new MigrateDatabaseToLatestVersion <MeetMeDbContext, Configuration>());
     MeetMeDbContext.Create().Database.Initialize(true);
 }