public void EFGetByTitleTest(string title, bool expected)
        {
            var        repo = new DvdRepositoryEF();
            List <Dvd> dvds = repo.GetAllByTitle(title);

            bool actual = false;

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

            Assert.AreEqual(expected, actual);
        }
        public void EFCanCreate(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 DvdRepositoryEF();

            repo.Create(dvd);
            List <Dvd> dvdCheck = repo.GetAllByTitle(title);

            bool actual = false;

            if (dvdCheck != null)
            {
                actual = true;
            }
            Assert.AreEqual(expected, actual);
        }