示例#1
0
        public void Get()
        {
            IArtistData _artist = new ArtistData();
            ArtistBiz   person  = new ArtistBiz(_artist);

            Assert.AreEqual(true, person.Get(2).succeed);
        }
示例#2
0
        public void GetAll()
        {
            IArtistData _artist = new ArtistData();
            ArtistBiz   person  = new ArtistBiz(_artist);

            Assert.AreEqual(5, person.GetAll().list.Count());
        }