public void Expected_Not_Matched_PropertyCount()
        {
            var source = new PersonSource() { Name = "Junil, Um" };
            var target = new PersonTarget2();

            var mapping = new ReflectionMapping(source, target, new ReflectionMappingOption() { ThrowIfNotMatched = true });
        }
示例#2
0
        public void Expected_Not_Matched_PropertyCount()
        {
            var source = new PersonSource()
            {
                Name = "Junil, Um"
            };
            var target = new PersonTarget2();

            var mapping = new ReflectionMapping(source, target, new ReflectionMappingOption()
            {
                ThrowIfNotMatched = true
            });
        }