public void ADOGetByRating(string rating, bool expected) { var repo = new DvdRepositoryADO(); List <Dvd> dvds = repo.GetAllByRating(rating); bool actual = false; if (dvds != null) { actual = true; } Assert.AreEqual(expected, actual); }