Esempio n. 1
0
        public void ADOGetByYear(int year, bool expected)
        {
            var        repo = new DvdRepositoryADO();
            List <Dvd> dvds = repo.GetAllByYear(year);

            bool actual = false;

            if (dvds != null)
            {
                actual = true;
            }

            Assert.AreEqual(expected, actual);
        }