public void TestParseLookupResponseMeta1()
{
var xml = TestsHelper.LoadTextFile("lookup-recordings.xml");
var parser = new XmlResponseParser();
var response = parser.ParseLookupResponse(xml);
Assert.AreEqual(response.Results.Count, 3);
var recordings = response.Results[0].Recordings;
Assert.IsNotNull(recordings);
Assert.IsTrue(recordings.Count > 0);
var recording = recordings[0];
Assert.IsNotNull(recording);
Assert.IsFalse(string.IsNullOrEmpty(recording.Id));
Assert.IsFalse(string.IsNullOrEmpty(recording.Title));
Assert.IsTrue(recording.Duration > 0);
Assert.IsTrue(recording.Artists.Count > 0);
var artist = recording.Artists[0];
Assert.IsNotNull(artist);
Assert.IsFalse(string.IsNullOrEmpty(artist.Id));
Assert.IsFalse(string.IsNullOrEmpty(artist.Name));
}