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); }
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); }