public bool FollowedArtists() { var followedArtists = _artistsUtils.GetFollowedArtists(); var artistsMenu = _artistsGenerator.GenerateArtists(followedArtists); bool running = true; while (running) { running = artistsMenu.Display(); } return(true); }
public void GenerateArtists_FullArtistsList_ReturnsMenuWithIncrementedTracksAmount() { var followedArtists = _artistsUtils.GetFollowedArtists(); var menu = _artistsGenerator.GenerateArtists(followedArtists); Assert.AreEqual(followedArtists.Count + 1, menu.items.Count); }