public void CanGetDvdsByRating() { var repo = new DvdRepositoryADO(); var dvds = repo.GetDvdByRating("PG"); Assert.IsNotNull(dvds); Assert.AreEqual(2, dvds.Count()); Assert.AreEqual("The Lion King", dvds[0].Title); Assert.AreNotEqual("The Lion King", dvds[1].Title); Assert.AreEqual(1992, dvds[0].ReleaseYear); Assert.AreEqual("PG", dvds[0].Rating); Assert.AreEqual("PG", dvds[1].Rating); }