public void BuildArtistLookupUrl_ExtrasIsNone_ReturnsUrlWithEmptyExtrasParameter()
        {
            var spotifyConfigurationFake = A.Fake <ISpotifyConfiguration>();

            A.CallTo(() => spotifyConfigurationFake.LookupServiceUrlFormat).Returns("http://ws.spotify.com/lookup/1/.json?uri={0}&extras={1}");

            var urlBuilder = new UrlBuilder(spotifyConfigurationFake);

            var url = urlBuilder.BuildArtistLookupUrl("abc", ArtistLookupExtras.None);

            Assert.That(url, Is.EqualTo("http://ws.spotify.com/lookup/1/.json?uri=abc&extras="));
        }
        public void BuildArtistLookupUrl_HrefIsNull_ThrowsArgumentNullException()
        {
            var urlBuilder = new UrlBuilder(A.Fake <ISpotifyConfiguration>());

            Assert.Throws <ArgumentNullException>(() => urlBuilder.BuildArtistLookupUrl(null, ArtistLookupExtras.Album));
        }