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();
            }
Exemplo n.º 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();
 }