public void ReturnNotNull_TeamToolsDbContext() { // Arrange & Act var result = MeetMeDbContext.Create(); // Assert Assert.IsNotNull(result); }
public void ReturnInstanceOf_TeamToolsDbContext() { // Arrange & Act var result = MeetMeDbContext.Create(); // Assert Assert.IsInstanceOf <MeetMeDbContext>(result); }
public static void Initialize() { Database.SetInitializer(new MigrateDatabaseToLatestVersion <MeetMeDbContext, Configuration>()); MeetMeDbContext.Create().Database.Initialize(true); }