public MainMenuGeneratorTests() { var albumUtils = new AlbumsUtils(new AlbumsConverter(), GlobalTestInitializer.SpotifyApi); var tracksUtils = new TracksUtils(new TracksConverter(), GlobalTestInitializer.SpotifyApi); var exitFunctions = new ExitFunctions(); var trackMenuFunctions = new TrackMenuFunctions(tracksUtils, exitFunctions, GlobalTestInitializer.SpotifyApi); var tracksConverter = new TracksConverter(); var tracksGenerator = new TracksGenerator(trackMenuFunctions, exitFunctions); var albumsGenerator = new AlbumsGenerator( new AlbumMenuFunctions(new AlbumsUtils(new AlbumsConverter(), GlobalTestInitializer.SpotifyApi), tracksConverter, exitFunctions, trackMenuFunctions, GlobalTestInitializer.SpotifyApi), exitFunctions); var playlistConverter = new PlaylistsConverter(); var playlistUtils = new PlaylistsUtils(playlistConverter, GlobalTestInitializer.SpotifyApi); var playlistMenuFunctions = new PlaylistMenuFunctions(tracksConverter, playlistUtils, trackMenuFunctions, exitFunctions, GlobalTestInitializer.SpotifyApi); var artistsUtils = new ArtistsUtils(new ArtistsConverter(), new AlbumsConverter(), GlobalTestInitializer.SpotifyApi); var artistsGenerator = new ArtistsGenerator(exitFunctions, new ArtistMenuFunctions(artistsUtils, GlobalTestInitializer.SpotifyApi, tracksGenerator, albumsGenerator, exitFunctions)); var tracksMenuFunctions = new TracksMenuFunctions(tracksUtils, tracksGenerator); var playlistsMenuFunctions = new PlaylistsMenuFunctions(playlistUtils, playlistMenuFunctions, exitFunctions); var artistsMenuFunctions = new ArtistsMenuFunctions(artistsUtils, artistsGenerator); var albumsMenuFunctions = new AlbumsMenuFunctions(albumUtils, albumsGenerator); var mainMenuFunctions = new MainMenuFunctions(tracksMenuFunctions, playlistsMenuFunctions, artistsMenuFunctions, albumsMenuFunctions, exitFunctions); _mainMenuGenerator = new MainMenuGenerator(exitFunctions, mainMenuFunctions); }
public PlaylistsMenuFunctions(PlaylistsUtils playlistsUtils, PlaylistMenuFunctions playlistMenuFunctions, ExitFunctions exitFunctions) { _playlistsUtils = playlistsUtils; _playlistMenuFunctions = playlistMenuFunctions; _exitFunctions = exitFunctions; }
public PlaylistMenuFunctions(TracksConverter tracksConverter, PlaylistsUtils playlistsUtils, TrackMenuFunctions trackMenuFunctions, ExitFunctions exitFunctions, SpotifyApi spotifyApi) { _tracksConverter = tracksConverter; _playlistsUtils = playlistsUtils; _trackMenuFunctions = trackMenuFunctions; _exitFunctions = exitFunctions; _spotifyApi = spotifyApi; }
public PlaylistMenuFunctionsTests() { var tracksUtils = new TracksUtils(new TracksConverter(), GlobalTestInitializer.SpotifyApi); var exitFunctions = new ExitFunctions(); var trackMenuFunctions = new TrackMenuFunctions(tracksUtils, exitFunctions, GlobalTestInitializer.SpotifyApi); var tracksConverter = new TracksConverter(); var playlistConverter = new PlaylistsConverter(); var playlistUtils = new PlaylistsUtils(playlistConverter, GlobalTestInitializer.SpotifyApi); _playlistMenuFunctions = new PlaylistMenuFunctions(tracksConverter, playlistUtils, trackMenuFunctions, exitFunctions, GlobalTestInitializer.SpotifyApi); }
public PlaylistsUtilsTests() { _playlistsUtils = new PlaylistsUtils(new PlaylistsConverter(), GlobalTestInitializer.SpotifyApi); }