Esempio n. 1
0
        public void GetConnectionTest()
        {
            IDbConnection con = _dbAccess.GetConnection();

            Assert.IsNotNull(con, "The connection string created was NULL.");
            Assert.AreEqual(_connectionString, con.ConnectionString, "Unexpected connection string.");
        }
Esempio n. 2
0
 public string ShowDatabaseConnection()
 {
     return(_dbAccess.GetConnection());
 }