Beispiel #1
0
        public void GetAvailableMovies_ShouldReturnDataFromDatabase()
        {
            var DummyData = new [] {
                MovieWithDvds("Movie 1", 3),
                MovieWithDvds("Movie 1", 3),
                MovieWithDvds("Movie 1", 3)
            };

            _db.Repopulate(DummyData);

            var movies = _shop.GetAvailableMovies();

            movies.Count().ShouldBe(3);
        }