예제 #1
0
        private SpotifyPlayer CreateInitializedPlayer()
        {
            SpotifyPlayer          player  = new SpotifyPlayer();
            Mock <ISpotifyWrapper> spotify = new Mock <ISpotifyWrapper>(MockBehavior.Strict);

            player.Spotify = spotify.Object;

            player.Initialize(GetConfigurationManager());
            return(player);
        }