Ejemplo n.º 1
0
        public void FullUserToDifferentCaseUser_WithAutoMap_WithMatching()
        {
            var map = new FullUserToDifferentCaseUserMap();

            map.AutoMapUnspecifiedTargets = true;
            map.Matching <AggressiveNameMatchingStrategy>();
            var user    = GetFullUser();
            var partial = map.Create(user);

            AssertEqual(user, partial);
        }
Ejemplo n.º 2
0
 public void FullUserToDifferentCaseUser_WithAutoMap_WithMatching()
 {
     var map = new FullUserToDifferentCaseUserMap();
     map.AutoMapUnspecifiedTargets = true;
     map.Matching<AggressiveNameMatchingStrategy>();
     var user = GetFullUser();
     var partial = map.Create(user);
     AssertEqual(user, partial);
 }