public void SongHandshakeRemapperUrlMissingUserTest()
 {
     var sng = new AmpacheSong();
     sng.Url = URL_MISSING_USER;
     sng.Id = 630;
     sng.AlbumId = 50;
     sng.ArtUrl = ART_URL;
     var handshake = new MockHandshake();
     handshake.SetPassphrase("test");
     handshake.SetServer("http://server.com");
     sng.MapToHandshake(handshake);
     Assert.That(sng.Url, Is.EqualTo(URL_MISSING_USER.Replace("SESSION", handshake.Passphrase).Replace("SONGID", sng.Id.ToString())));
     Assert.That(sng.ArtUrl, Is.EqualTo(ART_URL.Replace("ID", sng.ArtId.ToString()).Replace("AUTH", handshake.Passphrase)));
 }
 public void SongHandshakeRemapperNullHandshakeTest()
 {
     var sng = new AmpacheSong();
     sng.MapToHandshake(null);
     Assert.Fail();
 }