Blog.Logic.ObjectMapper.Tests.EducationTypeMapperTest.ShouldTransformEducationTypeToDto C# (CSharp) Метод

ShouldTransformEducationTypeToDto() приватный Метод

private ShouldTransformEducationTypeToDto ( ) : void
Результат void
        public void ShouldTransformEducationTypeToDto()
        {
            var param = new Db.EducationType
            {
                EducationTypeId = 1,
                EducationTypeName = "Grade School",
            };

            var result = EducationTypeMapper.ToDto(param);

            Assert.IsInstanceOf(typeof(EducationType), result);
            Assert.NotNull(result);
        }