示例#1
0
        public void ADOGetByDirector(string director, bool expected)
        {
            var        repo = new DvdRepositoryADO();
            List <Dvd> dvds = repo.GetAllByDirector(director);

            bool actual = false;

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

            Assert.AreEqual(expected, actual);
        }