Beispiel #1
0
        public void Should_merge_two_different_mappers()
        {
            var anotherMapper = new MyMapper().Map <Car>("Cars");

            _myMapper.Merge(anotherMapper);
            var totalOfMappings = _myMapper.GetCollections().Count;

            Assert.Equal(6, totalOfMappings);
            Assert.Equal(1, anotherMapper.GetCollections().Count);
        }