public void GenerateAlbums_SimpleAlbumList_ReturnsMenuWithIncrementedTracksAmount() { var newReleases = _albumsUtils.GetNewAlbumReleases(); var menu = _albumsGenerator.GenerateAlbums(newReleases); Assert.AreEqual(newReleases.Count + 1, menu.items.Count); }
public bool SavedAlbums() { var savedAlbums = _albumsUtils.GetSavedAlbums(); var albumsMenu = _albumsGenerator.GenerateAlbums(savedAlbums); bool running = true; while (running) { running = albumsMenu.Display(); } return(true); }
public bool GetArtistsAlbums(string artistId) { var artistsAlbums = _artistsUtils.GetArtistsAlbums(artistId); var tracksMenu = _albumsGenerator.GenerateAlbums(artistsAlbums); bool running = true; while (running) { running = tracksMenu.Display(); } return(true); }