public void ShouldBe_Fire_Exception_Why_Not_Exists_Property_Possible_Mapping_Name_Test() { var watcher = Stopwatch.StartNew(); var source = new Temp_SourceClass() { UserName = "******" }; var target = new Temp_TargetClass(); var sourceMapping = new MappingProviderForProperty(source); var targetMapping = new ParamPropertyMappingProvider(target); sourceMapping.AssignTo(targetMapping); }
public void ShouldBe_Fire_Exception_Why_Not_Exists_Property_Possible_Mapping_Name_Test() { var watcher = Stopwatch.StartNew(); var source = new Temp_SourceClass() { UserName = "******" }; var target = new Temp_TargetClass(); var sourceMapping = new MappingProviderForProperty(source); var targetMapping = new ParamPropertyMappingProvider(target); sourceMapping.AssignTo(targetMapping); }