Exemple #1
0
        public void Test1()
        {
            //on investigation it was found that SpotifyInterface wasn't testible as it stands
            //it would need major changes to inject the webservices SpotifyWebAPI into the class so that it can be mocked
            var songs = new string[]
            {
                "Song1", "Song2", "Song3"
            };
            var sut = new SpotifyInterface();

            sut.CreatePlaylistAsync("UserID", "Title", songs);
        }
Exemple #2
0
 public void LoginSpotify()
 {
     var spotInt = new SpotifyInterface();
 }