public void TypeWithMultipleIEnumerableIsMappedCorrectly() { var mapper = new MemberMapper(); var source = new SourceMultipleIEnumerables { One = new List <int> { 1, 2, 3 }, Two = new List <int> { 4, 5, 6 } }; var result = mapper.Map <SourceMultipleIEnumerables, DestMultipleLists>(source); Assert.IsTrue(result.One.SequenceEqual(source.One)); Assert.IsTrue(result.Two.SequenceEqual(source.Two)); }
public void TypeWithMultipleIEnumerableIsMappedCorrectly() { var mapper = new MemberMapper(); var source = new SourceMultipleIEnumerables { One = new List<int> { 1,2,3 }, Two = new List<int> { 4,5,6 } }; var result = mapper.Map<SourceMultipleIEnumerables, DestMultipleLists>(source); Assert.IsTrue(result.One.SequenceEqual(source.One)); Assert.IsTrue(result.Two.SequenceEqual(source.Two)); }