Ejemplo n.º 1
0
        public void CheckName()
        {
            AddGrade @Grade = new()
            {
                ImageUri = "URL/Grade_3_500px.png",
                Name     = Context.Grade.FirstOrDefault().Name
            };

            Exception exception = Assert.ThrowsAsync <Exception>(async() => await GradeService.CheckName(@Grade));

            Assert.Pass();
        }
    }