public void AutoMapper_CanConstruct_AndSetProperties()
            {
                var obj = new PersonInfoModel
                {
                    EntityId     = Guid.NewGuid(),
                    Salutation   = null,
                    FirstName    = null,
                    MiddleName   = null,
                    LastName     = null,
                    Suffix       = null,
                    DefaultEmail = null,
                };

                obj.ShouldNotBeNull();
            }
예제 #2
0
 public void AutoMapper_CanConstruct_AndSetProperties()
 {
     var obj = new PersonInfoModel
     {
         EntityId = Guid.NewGuid(),
         Salutation = null,
         FirstName = null,
         MiddleName = null,
         LastName = null,
         Suffix = null,
         DefaultEmail = null,
     };
     obj.ShouldNotBeNull();
 }