Ejemplo n.º 1
0
        public void Assignment_GetAllUsers_Test()
        {
            //Arrange
            IUserDAL     dao      = new UserSqlDAL(ConnectionString);
            IList <User> testList = new List <User>();

            testList = dao.GetAllUsers();
            //Action
            int results = GetRowCount("users");

            //Assert
            Assert.AreEqual(results, testList.Count);
        }