Пример #1
0
        public void GetErrorModel_ShouldReturnErrorCollection()
        {
            //Arrange
            var service = new ErrorService();

            ICollection <string> errors = new List <string>
            {
                "Name fieled is required",
                "Email fieled is required"
            };

            //Act
            var result = service.GetErrorModel(errors);

            //Assert
            Assert.NotNull(result);
        }