Пример #1
0
        public void should_have_correct_vendor()
        {
            _builder = new UnitTestDatabaseBuilder();
            _builder.ForMySql();

            var summary = _builder.ConfigurationSummary;

            Assert.AreEqual(summary.ConnectionStringManagerType, typeof(ConnectionStringManager).ToString());
            Assert.AreEqual(summary.DatabaseType, typeof(Database).ToString());
            Assert.AreEqual(summary.SessionType, typeof(Session).ToString());
        }
Пример #2
0
 public void Teardown()
 {
     _builder = null;
 }
Пример #3
0
 public void Setup()
 {
     _builder = new UnitTestDatabaseBuilder();
 }