Beispiel #1
0
        public void GetDvdByDirector()
        {
            var repo = new DvdRepositoryADO();

            List <Dvd> dvds = repo.GetDvdsbyDirector("Tron");

            Assert.AreEqual(3, dvds[0].DvdId);
            Assert.AreEqual("The Mad Real World", dvds[0].Title);
            Assert.AreEqual(2012, dvds[0].ReleaseYear);
            Assert.AreEqual("R", dvds[0].RatingType);
        }