public void ADOCanCreate(string title, int releaseYear, string rating, string director, string notes, bool expected) { Dvd dvd = new Dvd { Title = title, ReleaseYear = releaseYear, Rating = rating, Director = director, Notes = notes }; var repo = new DvdRepositoryADO(); repo.Create(dvd); List <Dvd> dvdCheck = repo.GetAllByTitle(title); bool actual = false; if (dvdCheck != null) { actual = true; } Assert.AreEqual(expected, actual); }