Example #1
0
 private void MapTo_is_called_with_properties_to_ignore(InputClass source)
 {
     _destination = source.MapTo<OutputClass>(p => p.DecimalProperty);
     _expected = new OutputClass
         {
             BooleanProperty = source.BooleanProperty,
             IntegerProperty = source.IntegerProperty,
             StringProperty = source.StringProperty,
             DecimalProperty = 0,
             DateTimeProperty = source.DateTimeProperty,
             DateTimeToNullable = source.DateTimeToNullable
         };
 }