private SpotifyPlayer CreateInitializedPlayer() { SpotifyPlayer player = new SpotifyPlayer(); Mock <ISpotifyWrapper> spotify = new Mock <ISpotifyWrapper>(MockBehavior.Strict); player.Spotify = spotify.Object; player.Initialize(GetConfigurationManager()); return(player); }