예제 #1
0
        public void EditAnArtist()
        {
            bool result = false;

            artistList = CDCatalogManager.GetArtists();
            foreach (Artist a in artistList)
            {
                if (a.ArtistName == editedTestArtist.ArtistName)
                {
                    a.ArtistName = "Fixed Artist";
                    result       = CDCatalogManager.UpdateArtist(a);
                }
            }

            Assert.IsNotEmpty(artistList);
            Assert.IsTrue(result);
        }