public void ParseAlbumInfo_When_No_Release_Date()
        {
            var xelement = XElement.Load(testFilePath + "lastfmAlbumInfoResponseNoReleaseDate.xml");

              var result = new AlbumResponseParser().Parse(xelement);

              Assert.That(result.ReleaseDate, Is.Null);
        }
        public void ParseAlbumInfo()
        {
            var xelement = XElement.Load(testFilePath + "lastfmAlbumInfoResponse.xml");

              var result = new AlbumResponseParser().Parse(xelement);

              Assert.That(result.Name, Is.EqualTo("San Francisco"));
              Assert.That(result.Artist, Is.EqualTo("Bobby Hutcherson"));
              Assert.That(result.Mbid, Is.Empty);
              Assert.That(result.ReleaseDate.Value.Date, Is.EqualTo(new DateTime(1994, 2, 28).Date));
              Assert.That(result.WikiSummary, Is.StringStarting("Bobby Hutcherson - Vibraphone, Marimba, Percussion"));
        }