Esempio n. 1
0
        public void GetAllDvds()
        {
            var repo = new MockDvdRepository();

            var dvd = repo.GetAll();

            Assert.AreEqual(3, dvd.Count);
        }
Esempio n. 2
0
        public void DeleteDvd()
        {
            var repo = new MockDvdRepository();

            repo.DeleteDvd(1);

            Assert.AreEqual(3, repo.GetAll().Count);
        }