public void ShouldGetAnArgumetExceptionIfSuppliedWithAnEronousArtistId() { //arrange ReleaseManager releaseManager = new ReleaseManager(new MusicBrainzRepository()); List<Release> releases = new List<Release>(); //act releases = releaseManager.GetReleasesByArtistId("lkhlkhjlkjhoihyugjkgoio"); //ArgumentException }
public void ShouldGetAListOf10ReleasesForArtist_Mumford_Sons() { //arrange ReleaseManager releaseManager = new ReleaseManager(new MusicBrainzRepository()); List<Release> releases = new List<Release>(); //act releases = releaseManager.GetReleasesByArtistId("c44e9c22-ef82-4a77-9bcd-af6c958446d6"); //assert int expectedNoReleases = 10; int actualNoReleases = releases.Count; Assert.AreEqual(expectedNoReleases, actualNoReleases); }