protected override void Because_of() { iclass4 source = new class4(); source.prop1 = "PROP1"; source.prop2 = "PROP2"; source.prop3 = "PROP3"; source.prop4 = "PROP4"; _destination = new class4DTO(); Mapper.Map <iclass4, iclass4DTO>(source, _destination); }
protected override void Because_of() { iclass4 source = new class4(); source.prop1 = "PROP1"; source.prop2 = "PROP2"; source.prop3 = "PROP3"; source.prop4 = "PROP4"; _destination = new class4DTO(); Mapper.Map<iclass4, iclass4DTO>(source, _destination); }