Ejemplo n.º 1
0
        public void UpdateTest()
        {
            var artist = new TestArtistDto().Artist;

            Assert.DoesNotThrowAsync(() => _artistLogic.Update(artist));
        }
Ejemplo n.º 2
0
        public void UpdateUnprocessableExceptionTest()
        {
            var artist = new TestArtistDto().Empty;

            Assert.ThrowsAsync <UnprocessableException>(() => _artistLogic.Update(artist));
        }
Ejemplo n.º 3
0
        public void AddTest()
        {
            var artist = new TestArtistDto().Artist;

            Assert.DoesNotThrowAsync(() => _artistLogic.Add(artist));
        }