public void GetConnectionTest() { IDbConnection con = _dbAccess.GetConnection(); Assert.IsNotNull(con, "The connection string created was NULL."); Assert.AreEqual(_connectionString, con.ConnectionString, "Unexpected connection string."); }
public string ShowDatabaseConnection() { return(_dbAccess.GetConnection()); }