Пример #1
0
        public void TestConnect()
        {
            //arrange
            bool expect = true;
            bool actual = true;
            IDatabaseAccess target = new SqlClientDataAccess(this._ConnectionString);

            //act
            target.OpenConnection();
            target.CloseConnection();

            //assert
            Assert.AreEqual(expect, actual);
        }