Ejemplo n.º 1
0
        public void GenerateAlbums_SimpleAlbumList_ReturnsMenuWithIncrementedTracksAmount()
        {
            var newReleases = _albumsUtils.GetNewAlbumReleases();
            var menu        = _albumsGenerator.GenerateAlbums(newReleases);

            Assert.AreEqual(newReleases.Count + 1, menu.items.Count);
        }
Ejemplo n.º 2
0
        public bool NewAlbumReleases()
        {
            var  newAlbums  = _albumsUtils.GetNewAlbumReleases();
            var  albumsMenu = _albumsGenerator.GenerateAlbums(newAlbums);
            bool running    = true;

            while (running)
            {
                running = albumsMenu.Display();
            }

            return(true);
        }
Ejemplo n.º 3
0
        public void GetNewAlbumReleases_ReturnsList()
        {
            var newAlbums = _albumsUtils.GetNewAlbumReleases();

            Assert.AreNotEqual(0, newAlbums.Count);
        }